OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb2fa6
)
Remove bashism from find-jdk-tools-jar.sh
author
Angus Lees
<alees@google.com>
Fri, 30 Jan 2009 10:17:23 +0000
(10:17 +0000)
committer
Angus Lees
<alees@google.com>
Fri, 30 Jan 2009 10:17:52 +0000
(10:17 +0000)
core/find-jdk-tools-jar.sh
patch
|
blob
|
history
diff --git
a/core/find-jdk-tools-jar.sh
b/core/find-jdk-tools-jar.sh
index
587fbc0
..
4c40627
100755
(executable)
--- 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)