Abort build if working directory contains spaces - not supported by (at least) debootstrap and cdebootstrap.

This commit is contained in:
Chris Lamb 2008-07-10 05:13:57 +01:00 committed by Daniel Baumann
parent cb7809fc83
commit dd074f1461
1 changed files with 6 additions and 0 deletions

View File

@ -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 ${*}