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/gollum.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patches/gollum.sh') diff --git a/patches/gollum.sh b/patches/gollum.sh index 6531044..b693083 100755 --- a/patches/gollum.sh +++ b/patches/gollum.sh @@ -14,8 +14,8 @@ p=patches/$f.patch printf "\tf: '$f'\n\tb: '$b'\n\ta: '$a'\n" -if [[ ! -f $b ]]; then echo "We hates it!"; exit 1; fi -if [[ ! -a $a ]]; then echo "Where is it? Where is the answer, precious?"; exit; fi +if [ ! -f $b ]; then echo "We hates it!"; exit 1; fi +if [ ! -f $a ]; then echo "Where is it? Where is the answer, precious?"; exit; fi echo Hisssss! -- cgit v1.2.3-ZIG