From f5aaef813f1bf4ea7f256d90d1f783abee0d7165 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-70-g09d2 From 2f4273289a04f781ac050a129cee5866bfb7ae14 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-70-g09d2 From be17e37102c20ee818cc177d867e226e15bf907b 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-70-g09d2