Fix runplain.sh for OSX. See #2299

This commit is contained in:
meeh
2019-10-27 14:30:30 +00:00
parent 3d75b3dc31
commit c5db5f0de3

View File

@ -25,7 +25,7 @@ CP=
# Try using the Java binary that I2P was installed with.
# If it's not found, try looking in the system PATH.
JAVA=$(which %JAVA_HOME/bin/java || which java)
JAVA=$(which "%JAVA_HOME"/bin/java || which java)
if [ -z $JAVA ] || [ ! -x $JAVA ]; then
echo "Error: Cannot find java." >&2