Ignore:
Timestamp:
2008-03-26T15:15:00+13:00 (15 years ago)
Author:
oranfry
Message:

don't try to run java unless search4j has found it

File:
1 edited

Legend:

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

    r15131 r15132  
    3535
    3636# JRE_HOME or JAVA_HOME must be set correctly to run this program
    37 `search4j -m $java_min_version -e` org.greenstone.server.Server $GSDL3SRCHOME
     37search4j -m $java_min_version &> /dev/null
     38if [ "$?" == "0" ]; then
     39    `search4j -m $java_min_version -e` org.greenstone.server.Server $GSDL3SRCHOME
     40fi
    3841
Note: See TracChangeset for help on using the changeset viewer.