Changeset 10331


Ignore:
Timestamp:
2005-07-27T16:41:10+12:00 (19 years ago)
Author:
kjdon
Message:

modified to use the new GSDL3HOME and GSDL3SRCHOEM variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/gli4gs3.sh

    r9891 r10331  
    5252if [ "$gsdl3path" == "" ]; then
    5353    # Check the environment variable first
    54     if [ "$GSDL3HOME" != "" ]; then
    55     gsdl3path=$GSDL3HOME
     54    if [ "$GSDL3SRCHOME" != "" ]; then
     55    gsdl3path=$GSDL3SRCHOME
    5656
    5757    # If it is not set, assume that the GLI is installed as a subdirectory of Greenstone 3
     
    9393
    9494# Setup Greenstone 3, unless it has already been done
    95 if [ "$GSDL3HOME" == "" ]; then
     95if [ "$GSDL3HOME" == "" ] || [ "$GSDL3SRCHOME" == "" ]; then
    9696    pushd $gsdl3path > /dev/null
    9797    source gs3-setup.sh
     
    112112    # If it is not set, assume that the gs2build subdirectory of Greenstone 3 exists
    113113    else
    114     gsdlpath=$GSDL3HOME/gs2build
     114    gsdlpath=$GSDL3SRCHOME/gs2build
    115115    fi
    116116fi
     
    335335# -Xloggc:<file>   Write garbage collection log
    336336
    337 $javapath -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl $GSDLHOME -gsdl3 $GSDL3HOME -wget $wgetpath $*
     337$javapath -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl $GSDLHOME -gsdl3 $GSDL3HOME -gsdl3src $GSDL3SRCHOME -wget $wgetpath $*
    338338
    339339if [ "$glilang" == "es" ]; then
Note: See TracChangeset for help on using the changeset viewer.