Changeset 19155


Ignore:
Timestamp:
2009-04-21T13:49:49+12:00 (15 years ago)
Author:
oranfry
Message:

space-proofing this script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.sh

    r18988 r19155  
    129129_version=
    130130if [ "x$gsdlpath" != "x" ]; then
    131     get_version $gsdlpath
     131    get_version "$gsdlpath"
    132132    _version=$?
    133133# otherwise $gsdlpath is not yet set
     
    158158    # Still need to find what version we are running:
    159159    # GS3 main directory contains file gs3-setup.sh, GS2 only setup.bash
    160     get_version $gsdlpath
     160    get_version "$gsdlpath"
    161161    _version=$?
    162162    fi
     
    166166
    167167# Check that the main Greenstone installation for the version we're running looks OK
    168 check_installation $gsdlpath $_version $glilang
     168check_installation "$gsdlpath" "$_version" "$glilang"
    169169
    170170
     
    206206    fi
    207207    # Check that Greenstone 3's Greenstone 2 stuff looks OK (in gs2build)
    208     check_installation $gsdl2path "" $glilang
     208    check_installation "$gsdl2path" "" "$glilang"
    209209 
    210210    # Setup Greenstone 3's gs2build, unless it has already been done
     
    308308    fi 
    309309   
    310     javapath=`$SEARCH4J_EXECUTABLE -e -p $HINT -m $MINIMUM_JAVA_VERSION`
     310    javapath="`"$SEARCH4J_EXECUTABLE" -e -p "$HINT" -m $MINIMUM_JAVA_VERSION`"
    311311
    312312    if [ "$?" != "0" ]; then
    313313
    314         OLDVER=`"$SEARCH4J_EXECUTABLE" -v -p "$HINT"`
     314        OLDVER="`"$SEARCH4J_EXECUTABLE" -v -p "$HINT"`"
    315315
    316316        if [ "$?" = "0" ]; then
Note: See TracChangeset for help on using the changeset viewer.