Changeset 17749

Show
Ignore:
Timestamp:
06.11.2008 14:50:02 (11 years ago)
Author:
max
Message:

Fixing some bugs on finding java on the Darwin platform.

Files:
1 modified

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