aboutsummaryrefslogtreecommitdiff
path: root/games/OpenRA/fetch-thirdparty-deps.sh.new
blob: c0f9ae9b5d759fc8d44780c643dcd56e41bf6764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

####
# This file must stay /bin/sh and POSIX compliant for BSD portability.
# Copy-paste the entire script into http://shellcheck.net to check.
####

# Die on any error for Travis CI to automatically retry:
set -e

download_dir="${0%/*}/download"

mkdir -p "${download_dir}"
cd "${download_dir}"
cd ..

tar -xvf download.tar.gz