Fix try.sh to be more portable.

This commit is contained in:
Anthony Howe committed 2025-08-03 06:54:24 -04:00
1 parent 26a181d401
commit a7f11c1f3e
1 file changed
+2 -1
+2 -1
View File
@@ -9,7 +9,8 @@ if [[ -z "$CC" ]]; then
CC="cc"
fi
make CC="$CC" all >/dev/null || exit 1
MAKE=$(which gmake)
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
read -r -n 1 -p "Press any key to form foo: "
echo 1>&2