source: gs2-extensions/afrepo/trunk/src/AFR-README.sh@ 27748

Last change on this file since 27748 was 27748, checked in by davidb, 11 years ago

Removal of debugging statement

  • Property svn:executable set to *
File size: 768 bytes
Line 
1#!/bin/bash
2
3
4if [ "x$GEXTAMP_INSTALLED" = "x" ] ; then
5 echo "Environment variable GEXTAMP_INSTALLED not set" >&2
6 echo "Have you sourced the extensions setup file?" >&2
7 exit
8fi
9
10
11if [ "x$GEXT_AFREPO" = "x" ] ; then
12 echo "Environment variable GEXT_AFREPO not set" >&2
13 echo "Have you sourced the extensions setup file?" >&2
14 exit
15fi
16
17if [ ! -f $GEXT_AFREPO/AFR-SETUP.sh ] ; then
18 echo "Generating AFR-SETUP.sh from AFR-SETUP.sh.in"
19 /bin/cp $GEXT_AFREPO/AFR-SETUP.sh.in $GEXT_AFREPO/AFR-SETUP.sh
20fi
21
22source $GEXT_AFREPO/AFR-SETUP.sh
23
24##echo "*** port = $port"
25
26cat $GEXT_AFREPO/src/DONE.txt \
27 | sed "s%@GEXTAMP_INSTALLED@%$GEXTAMP_INSTALLED%g" \
28 | sed "s%@4store-port@%$f4store_port%g" \
29 | sed "s%@afrepo-http-prefix@%$protocol://$hostname:$port%g"
30
Note: See TracBrowser for help on using the repository browser.