Merge pull request #3352 from MilhouseVH/le90_ban_spaces

config/options: ban spaces in paths [backport]
This commit is contained in:
CvH 2019-03-07 00:12:17 +01:00 committed by GitHub
commit 0e98e15e39
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