Merge pull request #3351 from MilhouseVH/le10_ban_spaces

config/options: ban spaces in paths
This commit is contained in:
CvH 2019-03-07 00:11:50 +01:00 committed by GitHub
commit fa3c85519f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,12 @@ if [[ "${EUID}" -eq 0 ]]; then
exit 1
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
export LC_ALL=C