Changeset 35710


Ignore:
Timestamp:
2021-10-27T13:02:16+13:00 (6 weeks ago)
Author:
davidb
Message:

Change of var name from HINT to PRIORITY_HINT to better reflect its role

File:
1 edited

Legend:

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

    r30119 r35710  
    103103
    104104# JRE_HOME or JAVA_HOME must be set correctly to run this program
    105 HINT="`pwd`/packages/jre"
     105PRIORITY_HINT="`pwd`/packages/jre"
    106106if [ "$GSDLOS" = "darwin" ]; then
    107     if [ ! -d "$HINT" ]; then
    108     HINT=`/usr/libexec/java_home`
     107    if [ ! -d "$PRIORITY_HINT" ]; then
     108    PRIORITY_HINT=`/usr/libexec/java_home`
    109109    fi
    110110   
     
    115115fi
    116116
    117 javapath=`search4j -p "$HINT" -m $java_min_version -e`
     117javapath=`search4j -p "$PRIORITY_HINT" -m $java_min_version -e`
    118118if [ "$?" == "0" ]; then
    119119    # In Java code, '...getResourceAsStream("build.properties")'
Note: See TracChangeset for help on using the changeset viewer.