From 0af335c17cd7d01f9c5c59ba9eafc54e4bc7b202 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 18 May 2015 09:57:41 +0200 Subject: [PATCH] check_tools.sh: add a test to avoid invalid directory name --- Tools/check_tools.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/check_tools.sh b/Tools/check_tools.sh index 1830483a8..2e1c7af1a 100755 --- a/Tools/check_tools.sh +++ b/Tools/check_tools.sh @@ -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