Abort build if working directory contains spaces - not supported by (at least) debootstrap and cdebootstrap.
This commit is contained in:
parent
cb7809fc83
commit
dd074f1461
|
@ -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 ${*}
|
||||
|
||||
|
|
Loading…
Reference in New Issue