From 71dd4ff1ae20dc54637198f9fa87c0fc27b33f55 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sat, 6 Mar 2021 18:10:24 -0500 Subject: POSIX shell fixes --- patches/eowyn.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'patches/eowyn.sh') diff --git a/patches/eowyn.sh b/patches/eowyn.sh index f9e7479..f450c0e 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -28,15 +28,14 @@ do patch_name="patches/$true_name.patch" - if [[ -f $patch_name ]] + if [ -f $patch_name ] then # Apply the bandages to the wounds, grow new limbs, let # new life spring into the broken bodies of the fallen. echo Healing $true_name... patch --output=healed/$true_name.zig $broken $patch_name else - echo Cannot heal $true_name. Making empty patch. - echo > $patch_name + echo Cannot heal $true_name. No patch found. fi done -- cgit v1.2.3-ZIG