Changeset 32012 for main/trunk


Ignore:
Timestamp:
2017-09-28T22:33:53+13:00 (7 years ago)
Author:
ak19
Message:

Correction. Discovered issue in srcdist situation

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.