Error if path contains whitespaces. Fixes #20

This commit is contained in:
Felix Schulze 2013-10-12 14:42:23 +02:00
parent 40b56bb2c9
commit 401212334c
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 $CURRENTPATH in
*\ * )
echo "Your path contains whitespaces, which is not supported by 'make install'."
exit 1
;;
esac
set -e set -e
if [ ! -e openssl-${VERSION}.tar.gz ]; then if [ ! -e openssl-${VERSION}.tar.gz ]; then
echo "Downloading openssl-${VERSION}.tar.gz" echo "Downloading openssl-${VERSION}.tar.gz"