From 10e3a2834cde618a1dbad34a1cdede62bdd7b6cf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 20 Jun 2016 22:59:18 +0200 Subject: show dltool (curl/wget) errors when make package=foo clean package ADK_VERBOSE=1 is used --- scripts/prereq.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'scripts') diff --git a/scripts/prereq.sh b/scripts/prereq.sh index e9391357e..68bea8f50 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -42,10 +42,6 @@ if [ -e foo ]; then fi rm -f FOO -if [ "$target" = "v" ]; then - dlverbose=1 -fi - # do we have a download tool? tools="curl wget" for tool in $tools; do @@ -54,18 +50,10 @@ for tool in $tools; do printf "found\n" case $tool in curl) - if [ $dlverbose -eq 1 ]; then FETCHCMD="$(which $tool) -L -k -f -\# -o " - else - FETCHCMD="$(which $tool) -L -k -f -s -o " - fi ;; wget) - if [ $dlverbose -eq 1 ]; then FETCHCMD="$(which $tool) --no-check-certificate -O " - else - FETCHCMD="$(which $tool) --no-check-certificate -q -O " - fi ;; esac break -- cgit v1.2.3