diff options
| author | nnoodle <nnoodle@chiru.no> | 2019-04-11 22:25:40 +0700 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-04-11 11:30:29 -0500 |
| commit | 744cf727f0102fc51dde5a2f0269433138270448 (patch) | |
| tree | 08ec3e115a54ee31e850188d248290c3a78e5919 | |
| parent | 032ba33ecff1b108fb1c12d06c14e26d86b21a60 (diff) | |
Use /bin/sh and exit immediately if a command fails.
| -rwxr-xr-x | scripts/configure_ubuntu.sh | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | scripts/macos_post_build.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/configure_ubuntu.sh b/scripts/configure_ubuntu.sh index 3817997c..848cf63e 100755 --- a/scripts/configure_ubuntu.sh +++ b/scripts/configure_ubuntu.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/bin/sh +set -e #assumes a somewhat recent 64-bit ubuntu diff --git a/scripts/macos_post_build.sh b/scripts/macos_post_build.sh index d69da0b4..1db8c034 100644..100755 --- a/scripts/macos_post_build.sh +++ b/scripts/macos_post_build.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/bin/sh +set -e DST_FOLDER="./bin/Attorney_Online.app/Contents/Frameworks" |
