summaryrefslogtreecommitdiff
path: root/helpers/lh_build
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_build')
-rwxr-xr-xhelpers/lh_build6
1 files changed, 6 insertions, 0 deletions
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 ${*}