Ignore:
Timestamp:
2020-07-10T14:26:03+12:00 (3 years ago)
Author:
ak19
Message:

Related to commit 34258. Equivalent changes for linux/mac: when running a standalone client-gli installation, if there's a packages/OS/jre (as for running GS3/GLI, this JRE may not get used on Mac as this comes preinstalled with Java) and if there's a bin/OS/search4j, client-gli.sh and findjava.sh will now use the path to a jre inside the standalone client-gli as hint for a bundled search4j to locate an appropriate java.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/client-gli.sh

    r31649 r34259  
    8383    if [ "$exit_status" -ne 1 ]; then
    8484    local_gs="true"
    85     fi
     85    fi
     86else
     87    export GLIHOME=`pwd`
     88    echo "@@@ Standalone client-gli, GLIHOME: $GLIHOME"
     89    # GSDLOS would not have been set yet
     90    if test "x$GSDLOS" = "x" ; then
     91    GSDLOS=`uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     92    # check for running bash under cygwin
     93    if test "`echo $GSDLOS | sed 's/cygwin//'`" != "$GSDLOS" ; then
     94        GSDLOS=windows
     95    fi
     96    fi
     97    export GSDLOS
    8698fi
    8799
Note: See TracChangeset for help on using the changeset viewer.