diff options
author | khronosschoty <khronosschoty@poste.org> | 2017-08-25 22:42:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-26 07:20:05 +0700 |
commit | e791329df1a0435777ff87b4da3f7365480afb04 (patch) | |
tree | c7c1d0ff1aa8a894d559589be23a6c1855c022b9 /games/OpenRA/fetch-thirdparty-deps.sh.new | |
parent | cffb74f383c45f12d189ce20a5aca1c5b5308a55 (diff) |
games/OpenRA: Added (modernized recreation of the classic RTS C&C).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/OpenRA/fetch-thirdparty-deps.sh.new')
-rw-r--r-- | games/OpenRA/fetch-thirdparty-deps.sh.new | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/OpenRA/fetch-thirdparty-deps.sh.new b/games/OpenRA/fetch-thirdparty-deps.sh.new new file mode 100644 index 0000000000000..c0f9ae9b5d759 --- /dev/null +++ b/games/OpenRA/fetch-thirdparty-deps.sh.new @@ -0,0 +1,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 + |