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.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-19 08:26:07 -08:00
1 parent 9c94c7df73
commit fed6b32f0a
1 file changed
-5
-5
View File
@@ -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