forked from openkylin/platform_build
Remove bashism from find-jdk-tools-jar.sh
This commit is contained in:
parent
aeb2fa61cf
commit
4cf7606d7e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue