summaryrefslogtreecommitdiffstats
path: root/tools/configure
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 /tools/configure
parent9372063e192f68c611b465b5af0505b44c73fd4e (diff)
downloadrockbox-e9eb5b31ad3b288fbc36ec9421c473fde0c59f38.tar.gz
rockbox-e9eb5b31ad3b288fbc36ec9421c473fde0c59f38.tar.bz2
rockbox-e9eb5b31ad3b288fbc36ec9421c473fde0c59f38.zip
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
Diffstat (limited to 'tools/configure')
-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