summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-20 11:02:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-20 11:02:16 +0000
commitef1109ad9340e5039f54371eb40126a33cb20d2c (patch)
tree203a28d4019ace9ecae08a2ced11f62ed475a7c3 /tools
parent5a795366973c848f5c34f7f13743539a0873421e (diff)
downloadrockbox-ef1109ad9340e5039f54371eb40126a33cb20d2c.tar.gz
rockbox-ef1109ad9340e5039f54371eb40126a33cb20d2c.zip
refuse to continue if pwd contains space, since the rest of the script
doesn't act correctly then! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13213 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index ba464472b5..435d26347b 100755
--- a/tools/configure
+++ b/tools/configure
@@ -549,6 +549,14 @@ fi
# get our current directory
pwd=`pwd`;
+if { echo $pwd | grep " "; } then
+ echo "You're running this script in a path that contains space. The build"
+ echo "system is unfortunately not clever enough to deal with this. Please"
+ echo "run the script from a different path, rename the path or fix the build"
+ echo "system!"
+ exit
+fi
+
if [ -z "$rootdir" ]; then
##################################################################
# Figure out where the source code root is!