mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
config/options: ban spaces in paths
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user