Show
Ignore:
Timestamp:
28.09.2017 22:33:53 (2 years ago)
Author:
ak19
Message:

Correction. Discovered issue in srcdist situation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bash

    r32011 r32012  
    330330        echo "setup.bash: Could not find Java in the environment or installation." 
    331331        echo "Set JAVA_HOME or JRE_HOME, and put it on the PATH, if working with Java tools like Lucene." 
    332     elif [ "x$javahome" != "x$BUNDLED_JRE" ]; then 
     332    elif [[ "x$javahome" != "x" && "x$javahome" != "x$BUNDLED_JRE" ]]; then 
    333333        if [ "x$JAVA_HOME" = "x" ]; then 
    334334        # if Java env vars not already set, then set them to the $javahome found