diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-20 22:59:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-20 22:59:18 +0200 |
commit | 10e3a2834cde618a1dbad34a1cdede62bdd7b6cf (patch) | |
tree | 6f41f2492cf1ca1f8a2e961acee30c34dc82d7b8 /scripts/prereq.sh | |
parent | 81e560c942777c4a9e38d727975001cf58f73d72 (diff) |
show dltool (curl/wget) errors when make package=foo clean package ADK_VERBOSE=1 is used
Diffstat (limited to 'scripts/prereq.sh')
-rwxr-xr-x | scripts/prereq.sh | 12 |
1 files changed, 0 insertions, 12 deletions
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 |