Changeset 8067


Ignore:
Timestamp:
2004-08-26T12:24:01+12:00 (20 years ago)
Author:
mdewsnip
Message:

Removed GSDLHOME stuff (it is now done only when necessary -- in the gli4gs3 scripts).

Location:
trunk/gsdl3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/gs3-setup.bat

    r8058 r8067  
    1414:: ---- Set other important environment variables ----
    1515set 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
     16set PATH=%PATH%;%GSDL3HOME%\bin;%GSDL3HOME%\bin\script;%GSDL3HOME%\lib;%GSDL3HOME%\packages\mysql\bin
    1817
    1918:: ---- Set the CLASSPATH environment variable ----
  • trunk/gsdl3/gs3-setup.sh

    r8060 r8067  
    3838export GSDLOS
    3939
    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
     40PATH=$GSDL3HOME/packages/mysql/bin:$GSDL3HOME/bin/script:$GSDL3HOME/bin:$PATH
    6341export PATH
    6442MANPATH=$MANPATH:$GSDL3HOME/doc/man
Note: See TracChangeset for help on using the changeset viewer.