Changeset 19769 for gli/trunk/gli.sh

Show
Ignore:
Timestamp:
09.06.2009 13:38:05 (11 years ago)
Author:
ak19
Message:

1. Search4j was previously given a hint that assumed that findjava was working with GLI instead of a more general case (such as gs2-server.sh). Now it is uses GSDLHOME to work out the hint. 2. PROGNAME needs to be passed in as a parameter for display. The scripts gli.sh and client-gli.sh are now updated to pass PROGNAME (or PROGABBR) as an additional argument to findjava.sh. 3. Instead of merely testing whether the search4j file exists, Oran suggested testing whether search4j file exists AND is executable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.sh

    r19737 r19769  
    8282# call the script with source, so that we have the variables it sets ($javapath) 
    8383exit_status=0 
    84 source ./findjava.sh $glilang 
     84source ./findjava.sh "$glilang" "$PROGNAME" 
    8585exit_status=$? 
    8686if [ "$exit_status" -eq 1 ]; then