diff options
Diffstat (limited to 'support/download/cp')
-rwxr-xr-x | support/download/cp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/download/cp b/support/download/cp index 09ce3d110..0ee1f3ba8 100755 --- a/support/download/cp +++ b/support/download/cp @@ -28,10 +28,12 @@ shift $((OPTIND-1)) output="${1}" source="${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) _localfiles() { eval ${LOCALFILES} "${@}" } -_localfiles ${verbose} "'${source}'" "'${output}'" +_localfiles ${verbose} "${@}""'${source}'" "'${output}'" |