diff --git a/bin/install-local-tests.sh b/bin/install-local-tests.sh index 4b62353..b3c1624 100755 --- a/bin/install-local-tests.sh +++ b/bin/install-local-tests.sh @@ -21,9 +21,9 @@ usage() { } download() { - if [ `which curl` ]; then + if [ "$(which curl)" ]; then curl -s "$1" > "$2"; - elif [ `which wget` ]; then + elif [ "$(which wget)" ]; then wget -nv -O "$2" "$1" fi }