diff options
author | Angus Lees <alees@google.com> | 2009-01-30 10:17:23 +0000 |
---|---|---|
committer | Angus Lees <alees@google.com> | 2009-01-30 10:17:52 +0000 |
commit | 4cf7606d7ea96bd7f40c4320bceff462005441e8 (patch) | |
tree | c657a5e4c36b5ec6062d7694ef843f1be1beb008 /core/find-jdk-tools-jar.sh | |
parent | aeb2fa61cfaf660b509c3b3e13f6059ff7672c59 (diff) | |
download | build-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-x | core/find-jdk-tools-jar.sh | 2 |
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) |