summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-09-02 21:28:25 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-09-02 21:28:25 +0000
commite9eb5b31ad3b288fbc36ec9421c473fde0c59f38 (patch)
tree6c6ce0225e030b72162ad19999840f96e5a4ee26
parent9372063e192f68c611b465b5af0505b44c73fd4e (diff)
Quote command arguments to avoid the shell trying to expand them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30412 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 3c4145f3da..57d747bed8 100755
--- a/tools/configure
+++ b/tools/configure
@@ -655,7 +655,7 @@ androidcc () {
echo "environment variable point to the root directory of the Android NDK."
exit
fi
- buildhost=`uname | tr [:upper:] [:lower:]`
+ buildhost=$(uname | tr "[:upper:]" "[:lower:]")
gccchoice="4.4.3"
gcctarget="arm-linux-androideabi-"
gccprefix=$ANDROID_NDK_PATH/toolchains/$gcctarget$gccchoice/prebuilt/$buildhost-x86