From fed6b32f0a19fd49178222bf7f923f7423db0005 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 19 Dec 2023 08:26:07 -0800 Subject: [PATCH] Remove redundancy in 2000/tomx/try.sh After doing make all || exit 1 it checked for the existence of tomx and it being executable but that should not be necessary after compilation. --- 2000/tomx/try.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/2000/tomx/try.sh b/2000/tomx/try.sh index e3bb764dc..82e9dcdc8 100755 --- a/2000/tomx/try.sh +++ b/2000/tomx/try.sh @@ -15,11 +15,6 @@ make CC="$CC" all >/dev/null || exit 1 # clear screen after compilation so that only the entry is shown clear -if [[ ! -f "tomx" || ! -e "tomx" ]]; then - echo "Compiling tomx.c:" 1>&2 - make all || exit 1 -fi - echo "Running tomx:" 1>&2 echo "$ ./tomx" 1>&2 ./tomx