Fix try.sh scripts; use command(1) instead of which.

This commit is contained in:
Anthony Howe committed 2025-08-03 13:13:55 -04:00
1 parent 4b08755e4a
commit 40f2141aef
25 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -25,7 +25,7 @@ fi
#
read -r -n 1 -p "Press any key to when ready: "
echo 1>&2
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# select a game
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -11,7 +11,7 @@ fi
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -12,7 +12,7 @@ fi
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all tipple >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program and the alt program have been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@ if [[ -z "$CC" ]]; then
CC="cc"
fi
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
read -r -n 1 -p "Press any key to form foo: "
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program and the alt program have been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" alt >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program and the alt program have been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program and the alt program have been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" alt >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -11,7 +11,7 @@ fi
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen
+1 -1
View File
@@ -9,7 +9,7 @@
# make sure the program has been built
#
MAKE=$(which gmake)
MAKE=$(command -v gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
# clear the screen