diff --git a/packaging/osx/buildpackage.sh b/packaging/osx/buildpackage.sh index fc13082..9053178 100755 --- a/packaging/osx/buildpackage.sh +++ b/packaging/osx/buildpackage.sh @@ -1,5 +1,6 @@ #!/bin/bash # OpenRA packaging script for macOS +set -e command -v make >/dev/null 2>&1 || { echo >&2 "The OpenRA mod template requires make."; exit 1; } command -v python >/dev/null 2>&1 || { echo >&2 "The OpenRA mod template requires python."; exit 1; } diff --git a/packaging/package-all.sh b/packaging/package-all.sh index 461dacc..bdea341 100755 --- a/packaging/package-all.sh +++ b/packaging/package-all.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e if [ $# -ne "2" ]; then echo "Usage: `basename $0` version outputdir" diff --git a/packaging/windows/buildpackage.sh b/packaging/windows/buildpackage.sh index 9e5d7da..023c488 100755 --- a/packaging/windows/buildpackage.sh +++ b/packaging/windows/buildpackage.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e command -v curl >/dev/null 2>&1 || { echo >&2 "Windows packaging requires curl."; exit 1; } command -v makensis >/dev/null 2>&1 || { echo >&2 "Windows packaging requires makensis."; exit 1; }