Ignore:
Timestamp:
2009-05-12T13:25:00+12:00 (15 years ago)
Author:
ak19
Message:

3 changes. 1. Moved gli.sh's logic for finding and setting GSDLHOME (and GSDL3SRCHOME and GSDL3HOME) into a separate bashfile: findgsdl.sh. 2. This script is now called by both gli.sh and client-gli.sh, since client-gli can from now on use the same logic to locate a local GS installation. The only difference is that if GSDLHOME is not found, then client-gli runs as before: no Download panel. 3. client-gli.sh will no longer be looking for a gs2build directory located inside a client-gli checkout, but instead search for a local GSDLHOME (including in the directory directly above, in case client-gli.sh is run from a normal GS checkout. IF a GSDLHOME is found (and perl too), then client-gli will enable the Download panel, and use the local GSDLHOME to do any downloading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/findjava.sh

    r19355 r19403  
    1 
    21# We will already be in the correct folder (GLI folder), which would
    32# contain a compiled up search4j if this GLI is part of an installation.
     
    109    MIN_DISPLAY_VERSION=${1};
    1110
    12     echo "JAVAHOME: $JAVA_HOME"
    1311    if [ "x$JAVA_HOME" = "x" -o ! -f "$JAVA_HOME/bin/java" ]; then
    1412    return no_java "$MIN_DISPLAY_VERSION"
Note: See TracChangeset for help on using the changeset viewer.