summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-10 05:13:57 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commitdd074f1461708344299c32dbe996ca1fe33e9cec (patch)
treeb67220b58fe19cd3d0b911f4d66e84434a81055c /helpers
parentcb7809fc83cacb87cb8efa66f272fa3eda94390e (diff)
downloadlive-build-dd074f1461708344299c32dbe996ca1fe33e9cec.zip
live-build-dd074f1461708344299c32dbe996ca1fe33e9cec.tar.gz
Abort build if working directory contains spaces - not supported by (at least) debootstrap and cdebootstrap.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_build b/helpers/lh_build
index 835a4b7..8d38890 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -35,6 +35,12 @@ then
exit 1
fi
+if echo $(pwd) | grep -qs " "
+then
+ Echo_error "Cannot build live image from a directory containing spaces"
+ exit 1
+fi
+
# Bootstrapping system
lh_bootstrap ${*}