download_tarball.sh 148 B

1234567891011
  1. #!/bin/sh
  2. set -exu
  3. (
  4. cd "$BASE_DIRECTORY"
  5. wget "$TARBALL_URL"
  6. ARCHIVE=$(ls *.tar.gz 2> /dev/null | head -n 1)
  7. tar xf "$ARCHIVE"
  8. )