From a42fc7e12aff8e5f3f27ba7b6532355410c5d49c Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 22 Nov 2023 05:07:40 -0800 Subject: [PATCH] Slight improvements in 1990/jaw/try.sh chmod +x the scripts so that one needn't use 'sh' (this also helps with shell completion for those who use it). --- 1990/jaw/try.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/1990/jaw/try.sh b/1990/jaw/try.sh index 8bfbd1966..84e6591ae 100755 --- a/1990/jaw/try.sh +++ b/1990/jaw/try.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash echo "Running shark.sh:" -sh shark.sh shark.sh README.md jaw.c try.sh > receive || exit 1 +./shark.sh shark.sh README.md jaw.c try.sh > receive || exit 1 echo "Done." @@ -13,9 +13,10 @@ mkdir -p test || exit 0 # make sure we can cd to the new directory cd test || exit +chmod +x ../receive # run the script echo "Attempting to extract files:" -sh ../receive +../receive echo 1>&2 echo "$ ls -al" 1>&2