mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
config/options: log PWD when the current directory includes a space
This commit is contained in:
@@ -6,6 +6,8 @@ fi
|
||||
|
||||
# Spaces in paths are verboten
|
||||
if [[ ${PWD} =~ [[:space:]] ]]; then
|
||||
echo "Current PWD: \"${PWD}\"" 1>&2
|
||||
echo 1>&2
|
||||
echo "Building in a folder that includes spaces is NOT supported. Use a folder without spaces." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user