mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-12 18:10:00 +00:00
POSIX shell fixes
This commit is contained in:
@@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user