summaryrefslogtreecommitdiffstats
path: root/support/download/wget
diff options
context:
space:
mode:
Diffstat (limited to 'support/download/wget')
-rwxr-xr-xsupport/download/wget4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/download/wget b/support/download/wget
index 0fc7ffa94e..768de904c3 100755
--- a/support/download/wget
+++ b/support/download/wget
@@ -23,10 +23,12 @@ shift $((OPTIND-1))
output="${1}"
url="${2}"
+shift 2 # Get rid of our options
+
# Caller needs to single-quote its arguments to prevent them from
# being expanded a second time (in case there are spaces in them)
_wget() {
eval ${WGET} "${@}"
}
-_wget ${verbose} -O "'${output}'" "'${url}'"
+_wget ${verbose} "${@}" -O "'${output}'" "'${url}'"
OpenPOWER on IntegriCloud