Ignore:
Timestamp:
2015-08-13T20:33:28+12:00 (6 years ago)
Author:
ak19
Message:

HINT for search4j adjusted after JRE inclusion on Mac Lion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/gs3-server.sh

    r27873 r30106  
    104104# JRE_HOME or JAVA_HOME must be set correctly to run this program
    105105HINT="`pwd`/packages/jre"
     106if [ "$GSDLOS" = "darwin" ] && [ ! -d "$HINT" ]; then
     107    HINT=`/usr/libexec/java_home`
     108fi
    106109javapath=`search4j -p "$HINT" -m $java_min_version -e`
    107110if [ "$?" == "0" ]; then
Note: See TracChangeset for help on using the changeset viewer.