Ignore:
Timestamp:
2017-09-04T00:29:05+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #15233 - Fix bashism in josm launcher (patch by sebastic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/linux/latest/usr/bin/josm-latest

    r12591 r12717  
    4747if [ "$JAVACMD" ]; then
    4848    echo "Using $JAVACMD to execute josm-latest." || true
    49     if [[ $JAVACMD == *"java-9"* ]]; then
     49    if [ "`expr match \"${JAVACMD}\" 'java-9'`" != "0" ]; then
    5050        JAVA_OPTS="--add-modules java.se.ee $JAVA_OPTS"
    5151    fi
Note: See TracChangeset for help on using the changeset viewer.