Remove bash specific calls

Make sure that every call in a shell script is supported by /bin/sh and not a bashism, like $()

Closes #4314
This commit is contained in:
Alexander Reelsen 2013-12-03 10:23:40 +01:00
parent 7690b40ec6
commit 7c96627d76
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ fi
if [ -x "$JAVA_HOME/bin/java" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA=$(which java)
JAVA=`which java`
fi
if [ ! -x "$JAVA" ]; then

View File

@ -53,7 +53,7 @@ checkJava() {
if [ -x "$JAVA_HOME/bin/java" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA=$(which java)
JAVA=`which java`
fi
if [ ! -x "$JAVA" ]; then