Changeset 23111
- Timestamp:
- 2010-10-12T13:33:31+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/cascade-make/trunk/lib/cascade-lib.bash
r23104 r23111 1 2 if test $# -gt "0" ; then3 if test -z ${1##GEXT*} ; then4 5 ext=$1 ; shift6 reldir=$1 ; shift7 8 eval exthome=`echo \\$$ext`9 if test -z "$exthome" ; then10 echo "Environment variable $ext for Greenstone extension not set"11 echo "Sourcing $reldir/setup.bash"12 source $reldir/setup.bash13 14 eval exthome=`echo \\$$ext`15 fi16 fi17 fi18 19 1 if test -z $GSDLOS ; then 20 2 GSDLOS=`uname -s | tr '[A-Z]' '[a-z]'` … … 33 15 fi 34 16 17 if test $# -gt "0" ; then 18 if test -z ${1##GEXT*} ; then 19 20 ext=$1 ; shift 21 reldir=$1 ; shift 22 23 eval exthome=`echo \\$$ext` 24 if test -z "$exthome" ; then 25 echo "Environment variable $ext for Greenstone extension not set" 26 echo "Sourcing $reldir/setup.bash" 27 source $reldir/setup.bash 28 29 eval exthome=`echo \\$$ext` 30 fi 31 fi 32 fi 35 33 36 34 run_untar()
Note:
See TracChangeset
for help on using the changeset viewer.