config/options: ban spaces in paths

This commit is contained in:
MilhouseVH 2019-03-02 21:44:05 +00:00
parent 1d8561aef4
commit e2072d8b56

View File

@ -4,6 +4,12 @@ if [[ "${EUID}" -eq 0 ]]; then
exit 1 exit 1
fi fi
# Spaces in paths are verboten
if [[ ${PWD} =~ [[:space:]] ]]; then
echo "Building in a folder that includes spaces is NOT supported. Use a folder without spaces." 1>&2
exit 1
fi
# set default language for buildsystem # set default language for buildsystem
export LC_ALL=C export LC_ALL=C