From a7f11c1f3e6af110537c303956235ff12241abed Mon Sep 17 00:00:00 2001 From: Anthony Howe Date: Sun, 3 Aug 2025 06:54:24 -0400 Subject: [PATCH] Fix try.sh to be more portable. --- 2024/howe/try.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2024/howe/try.sh b/2024/howe/try.sh index fac305f82..7748aa188 100755 --- a/2024/howe/try.sh +++ b/2024/howe/try.sh @@ -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