Check if Xcode path contains whitespace. Fixes #23

This commit is contained in:
Felix Schulze 2014-02-07 07:45:57 +01:00
parent b689d3faf2
commit 57b4d2a5e6
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ if [ ! -d "$DEVELOPER" ]; then
exit 1 exit 1
fi fi
case $DEVELOPER in
*\ * )
echo "Your Xcode path contains whitespaces, which is not supported."
exit 1
;;
esac
case $CURRENTPATH in case $CURRENTPATH in
*\ * ) *\ * )
echo "Your path contains whitespaces, which is not supported by 'make install'." echo "Your path contains whitespaces, which is not supported by 'make install'."