summaryrefslogtreecommitdiff
path: root/support/download/scp
diff options
context:
space:
mode:
Diffstat (limited to 'support/download/scp')
-rwxr-xr-xsupport/download/scp4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/download/scp b/support/download/scp
index 95cf502be2..825fd41c64 100755
--- a/support/download/scp
+++ b/support/download/scp
@@ -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)
_scp() {
eval ${SCP} "${@}"
}
-_scp ${verbose} "'${url}'" "'${output}'"
+_scp ${verbose} "${@}" "'${url}'" "'${output}'"