From 57b4d2a5e64dd5a4df0167b93360df3fbe2f04ff Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Fri, 7 Feb 2014 07:45:57 +0100 Subject: [PATCH] Check if Xcode path contains whitespace. Fixes #23 --- build-libssl.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build-libssl.sh b/build-libssl.sh index f2ef9a7..92bf4df 100755 --- a/build-libssl.sh +++ b/build-libssl.sh @@ -44,6 +44,13 @@ if [ ! -d "$DEVELOPER" ]; then exit 1 fi +case $DEVELOPER in + *\ * ) + echo "Your Xcode path contains whitespaces, which is not supported." + exit 1 + ;; +esac + case $CURRENTPATH in *\ * ) echo "Your path contains whitespaces, which is not supported by 'make install'."