Scripts: Remove some subshells that ignore errors
This commit is contained in:
committed by
Matthias Mailänder
parent
1b9a86c0a0
commit
e2fd7ce7ed
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -o errexit || exit $?
|
||||
|
||||
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||
LAUNCHER=$(readlink -f "${0}")
|
||||
HERE=$(dirname "${LAUNCHER}")
|
||||
cd "${HERE}/../lib/openra" || exit 1
|
||||
|
||||
./OpenRA.Server Game.Mod="{MODID}" "$@"
|
||||
|
||||
Reference in New Issue
Block a user