check_tools.sh: add a test to avoid invalid directory name

This commit is contained in:
Gautier Pelloux-Prayer 2015-05-18 09:57:41 +02:00
parent 1ae1bf56c6
commit 0af335c17c

View file

@ -17,6 +17,10 @@ check_installed() {
cd $(dirname $0)/..
if grep -q ' ' <<< $PWD; then
echo_err "Invalid location: your location should not contain spaces"
fi
for prog in autoconf automake pkg-config doxygen java nasm gettext wget yasm optipng; do
check_installed "$prog" "it"
done