cp 358 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. # We want to catch any unexpected failure, and exit immediately
  3. set -e
  4. # Download helper for cp, to be called from the download wrapper script
  5. # Expected arguments:
  6. # $1: output file
  7. # $2: source file
  8. # And this environment:
  9. # LOCALFILES: the cp command to call
  10. output="${1}"
  11. source="${2}"
  12. ${LOCALFILES} "${source}" "${output}"