Changeset 17749 for gli/trunk/gli.sh


Ignore:
Timestamp:
2008-11-06T14:50:02+13:00 (15 years ago)
Author:
max
Message:

Fixing some bugs on finding java on the Darwin platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.sh

    r17733 r17749  
    318318
    319319    # Give search4j a hint to find Java depending on the platform
    320     if [ $GSDLOS = "linux"] ; then
    321     HINT=`cd ..;pwd`/packages/jre
    322     elif [ $GSDLOS = "darwin"] ; then
    323     HINT=/System/Library/Frameworks/JavaVM.framework/Home
     320    if [ $GSDLOS = linux ]; then
     321        HINT=`cd ..;pwd`/packages/jre
     322    elif [ $GSDLOS = darwin ]; then
     323        HINT=/System/Library/Frameworks/JavaVM.framework/Home
    324324    fi 
    325325   
    326     javapath=`"$SEARCH4J_EXECUTABLE" -e -p "$HINT" -m $MINIMUM_JAVA_VERSION`
     326    javapath=`$SEARCH4J_EXECUTABLE -e -p $HINT -m $MINIMUM_JAVA_VERSION`
    327327
    328328    if [ "$?" != "0" ]; then
Note: See TracChangeset for help on using the changeset viewer.