Changeset 8067
- Timestamp:
- 2004-08-26T12:24:01+12:00 (20 years ago)
- Location:
- trunk/gsdl3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/gs3-setup.bat
r8058 r8067 14 14 :: ---- Set other important environment variables ---- 15 15 set GSDLOS=windows 16 set GSDLHOME=%GSDL3HOME%\gs2extra 17 set PATH=%PATH%;%GSDL3HOME%\bin;%GSDL3HOME%\bin\script;%GSDL3HOME%\lib;%GSDL3HOME%\packages\mysql\bin;%GSDLHOME%\bin\script;%GSDLHOME%\bin\windows 16 set PATH=%PATH%;%GSDL3HOME%\bin;%GSDL3HOME%\bin\script;%GSDL3HOME%\lib;%GSDL3HOME%\packages\mysql\bin 18 17 19 18 :: ---- Set the CLASSPATH environment variable ---- -
trunk/gsdl3/gs3-setup.sh
r8060 r8067 38 38 export GSDLOS 39 39 40 ## determine GSDLHOME for running gli under gs3 41 gsdlpath= 42 43 # Some users may set the above line manually 44 if [ "$gsdlpath" == "" ]; then 45 # check to see if we have a gs2extra directory 46 if [ -d gs2extra ]; then 47 gsdlpath=$GSDL3HOME/gs2extra 48 # Check the environment variable 49 elif [ "$GSDLHOME" != "" ]; then 50 gsdlpath=$GSDLHOME 51 52 else 53 echo "Could not determine the location of a greenstone 2 installation." 54 echo "You will be able to run greenstone3 but not use the GLI." 55 echo "To use the GLI, please run 'source setup.bash' in your gsdl installation before running this script, or set gsdlpath in the gs3-setup.sh script." 56 fi 57 fi 58 59 GSDLHOME=$gsdlpath 60 export GSDLHOME 61 62 PATH=$GSDL3HOME/packages/mysql/bin:$GSDL3HOME/bin/script:$GSDL3HOME/bin:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS:$PATH 40 PATH=$GSDL3HOME/packages/mysql/bin:$GSDL3HOME/bin/script:$GSDL3HOME/bin:$PATH 63 41 export PATH 64 42 MANPATH=$MANPATH:$GSDL3HOME/doc/man
Note:
See TracChangeset
for help on using the changeset viewer.