diff options
author | Raphael Moll <ralf@android.com> | 2011-03-11 16:08:34 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-11 16:08:34 -0800 |
commit | 0469678719a5e8d59b779c8ae8e87a317c5788f5 (patch) | |
tree | 39d297feff00ad318421bed3d9f50bcc97a920fa /core | |
parent | 66e76e7aad75bee810feded2b9a041ba58583874 (diff) | |
parent | 2cfffcb606b5f1310a0678a16367af48f564bab9 (diff) | |
download | build-0469678719a5e8d59b779c8ae8e87a317c5788f5.zip build-0469678719a5e8d59b779c8ae8e87a317c5788f5.tar.gz build-0469678719a5e8d59b779c8ae8e87a317c5788f5.tar.bz2 |
am 2cfffcb6: am 8755e2b2: am e84739e9: Merge "Fix find-jdk-tools-jar to be cygwin-friendly."
* commit '2cfffcb606b5f1310a0678a16367af48f564bab9':
Fix find-jdk-tools-jar to be cygwin-friendly.
Diffstat (limited to 'core')
-rwxr-xr-x | core/find-jdk-tools-jar.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/find-jdk-tools-jar.sh b/core/find-jdk-tools-jar.sh index ed0b127..e1278c3 100755 --- a/core/find-jdk-tools-jar.sh +++ b/core/find-jdk-tools-jar.sh @@ -5,9 +5,9 @@ else if [ -z "$JAVAC" ] ; then exit 1 fi - while [ -L $JAVAC ] ; do - LSLINE=$(ls -l $JAVAC) - JAVAC=$(echo -n $LSLINE | sed -e "s/.* -> //") + while [ -L "$JAVAC" ] ; do + LSLINE=$(ls -l "$JAVAC") + JAVAC=$(echo -n "$LSLINE" | sed -e "s/.* -> //") done echo $JAVAC | sed -e "s:\(.*\)/bin/javac.*:\\1/lib/tools.jar:" fi |