From dd074f1461708344299c32dbe996ca1fe33e9cec Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 10 Jul 2008 05:13:57 +0100 Subject: Abort build if working directory contains spaces - not supported by (at least) debootstrap and cdebootstrap. --- helpers/lh_build | 6 ++++++ 1 file changed, 6 insertions(+) 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 ${*} -- cgit v1.0