Changeset 23095
- Timestamp:
- 2010-10-12T10:04:01+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/cascade-make/trunk/lib/cascade-lib.bash
r23077 r23095 5 5 ext=$1 ; shift 6 6 reldir=$1 ; shift 7 7 8 eval exthome=`echo \\$$ext` 8 9 if test -z "$exthome" ; then 9 echo "Environment variable $ 1for Greenstone extension not set"10 echo "Environment variable $ext for Greenstone extension not set" 10 11 echo "Sourcing $reldir/setup.bash" 11 12 source $reldir/setup.bash 13 14 eval exthome=`echo \\$$ext` 12 15 fi 13 16 fi … … 90 93 toplevel_make_dist() 91 94 { 92 local currentdir=$1 93 94 local dirname=`basename $currentdir` 95 local dirname=`basename $exthome` 95 96 96 97 local checklist="setup.bash setup.bat perllib $GSDLOS lib" … … 109 110 110 111 popd 111 }112 113 opt_make_dist()114 {115 local type=$1116 117 if [ $type = "1" ] ; then118 119 if [ -f MAKE-DIST.sh ] ; then120 ./MAKE-DIST.sh121 else122 toplevel_make_dist `pwd`123 fi124 fi125 112 } 126 113 … … 203 190 run_installclean() 204 191 { 205 local fulldir="`pwd`/$GSDLOS" 192 local fulldir="$exthome/$GSDLOS" 193 echo "" 206 194 read -p "Delete $fulldir [y/n]?" ans 207 195 if [ $ans = "y" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.