fetch-thirdparty-deps.sh.new 340 B

12345678910111213141516171819
  1. #!/bin/sh
  2. ####
  3. # This file must stay /bin/sh and POSIX compliant for BSD portability.
  4. # Copy-paste the entire script into http://shellcheck.net to check.
  5. ####
  6. # Die on any error for Travis CI to automatically retry:
  7. set -e
  8. download_dir="${0%/*}/download"
  9. mkdir -p "${download_dir}"
  10. cd "${download_dir}"
  11. cd ..
  12. tar -xvf download.tar.gz