summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-20 22:59:18 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-20 22:59:18 +0200
commit10e3a2834cde618a1dbad34a1cdede62bdd7b6cf (patch)
tree6f41f2492cf1ca1f8a2e961acee30c34dc82d7b8 /scripts
parent81e560c942777c4a9e38d727975001cf58f73d72 (diff)
show dltool (curl/wget) errors when make package=foo clean package ADK_VERBOSE=1 is used
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prereq.sh12
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