commit | 4cf7606d7ea96bd7f40c4320bceff462005441e8 | [log] [tgz] |
---|---|---|
author | Angus Lees <alees@google.com> | Fri Jan 30 10:17:23 2009 +0000 |
committer | Angus Lees <alees@google.com> | Fri Jan 30 10:17:52 2009 +0000 |
tree | c657a5e4c36b5ec6062d7694ef843f1be1beb008 | |
parent | aeb2fa61cfaf660b509c3b3e13f6059ff7672c59 [diff] [blame] |
Remove bashism from find-jdk-tools-jar.sh
diff --git a/core/find-jdk-tools-jar.sh b/core/find-jdk-tools-jar.sh index 587fbc0..4c40627 100755 --- a/core/find-jdk-tools-jar.sh +++ b/core/find-jdk-tools-jar.sh
@@ -1,4 +1,4 @@ -if [[ "x$ANDROID_JAVA_HOME" != x && -e $ANDROID_JAVA_HOME/lib/tools.jar ]] ; then +if [ "x$ANDROID_JAVA_HOME" != x ] && [ -e "$ANDROID_JAVA_HOME/lib/tools.jar" ] ; then echo $ANDROID_JAVA_HOME/lib/tools.jar else JAVAC=$(which javac)