From ef1109ad9340e5039f54371eb40126a33cb20d2c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Apr 2007 11:02:16 +0000 Subject: 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 --- tools/configure | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/configure') 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! -- cgit v1.2.3