summaryrefslogtreecommitdiffstats
path: root/core/find-jdk-tools-jar.sh
diff options
context:
space:
mode:
authorAngus Lees <alees@google.com>2009-01-30 10:17:23 +0000
committerAngus Lees <alees@google.com>2009-01-30 10:17:52 +0000
commit4cf7606d7ea96bd7f40c4320bceff462005441e8 (patch)
treec657a5e4c36b5ec6062d7694ef843f1be1beb008 /core/find-jdk-tools-jar.sh
parentaeb2fa61cfaf660b509c3b3e13f6059ff7672c59 (diff)
downloadbuild-4cf7606d7ea96bd7f40c4320bceff462005441e8.zip
build-4cf7606d7ea96bd7f40c4320bceff462005441e8.tar.gz
build-4cf7606d7ea96bd7f40c4320bceff462005441e8.tar.bz2
Remove bashism from find-jdk-tools-jar.sh
Diffstat (limited to 'core/find-jdk-tools-jar.sh')
-rwxr-xr-xcore/find-jdk-tools-jar.sh2
1 files changed, 1 insertions, 1 deletions
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)