diff options
Diffstat (limited to 'support/download/cp')
-rwxr-xr-x | support/download/cp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/support/download/cp b/support/download/cp new file mode 100755 index 0000000000..3e9f54847f --- /dev/null +++ b/support/download/cp @@ -0,0 +1,16 @@ +#!/bin/bash + +# We want to catch any command failure, and exit immediately +set -e + +# Download helper for cp +# Call it with: +# $1: source file +# $2: output file +# And this environment: +# LOCALFILES: the cp command to call + +source="${1}" +output="${2}" + +${LOCALFILES} "${source}" "${output}" |