From 6861626b515cace7917a65eddfe8a74605084cd2 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:19:26 -0800 Subject: added set -e --- patches/eowyn.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'patches') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index f9e7479..55e6f8a 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -13,6 +13,8 @@ # to convalesce in the healed directory. # +set -e + # We run from the patches dir. Go there now if not already. cd $(dirname $(realpath $0)) pwd # Show it upon the screen so all shall be made apparent. -- cgit v1.2.3-ZIG From 1f85c2d27269517742b6159e8f4dd8f6c7da3a25 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:21:18 -0800 Subject: need to change shebang to bash because we're using bashisms --- patches/eowyn.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'patches') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 55e6f8a..6f8ef8d 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # "I will be a shieldmaiden no longer, # nor vie with the great Riders, nor @@ -13,8 +13,6 @@ # to convalesce in the healed directory. # -set -e - # We run from the patches dir. Go there now if not already. cd $(dirname $(realpath $0)) pwd # Show it upon the screen so all shall be made apparent. -- cgit v1.2.3-ZIG From 45c6440bb2566a0263d4ceeee5bfd2e4fe1f07a8 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:24:03 -0800 Subject: remove realpath --- patches/eowyn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patches') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 6f8ef8d..1bb8385 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -14,7 +14,7 @@ # # We run from the patches dir. Go there now if not already. -cd $(dirname $(realpath $0)) +cd $(dirname $0) pwd # Show it upon the screen so all shall be made apparent. # Create healed/ directory here if it doesn't already exist. -- cgit v1.2.3-ZIG