From 744cf727f0102fc51dde5a2f0269433138270448 Mon Sep 17 00:00:00 2001 From: nnoodle Date: Thu, 11 Apr 2019 22:25:40 +0700 Subject: [PATCH] Use /bin/sh and exit immediately if a command fails. --- scripts/configure_ubuntu.sh | 3 ++- scripts/macos_post_build.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/macos_post_build.sh diff --git a/scripts/configure_ubuntu.sh b/scripts/configure_ubuntu.sh index 3817997..848cf63 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 old mode 100644 new mode 100755 index d69da0b..1db8c03 --- 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"