From 04841d46ad68c9bac65502f79280d108bdba3e2f 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. Signed-off-by: Chris Lamb --- helpers/lh_build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'helpers/lh_build') diff --git a/helpers/lh_build b/helpers/lh_build index 835a4b77f..8d3889064 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.2.3