From bccdcc5fd9b93b146f49cb86f75593696e57dac7 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 3 Aug 2025 11:38:04 -0700 Subject: [PATCH] update next and template try scripts With commit fd483c2bed49e3a79fd783bad98a74d6267978a8, all try scripts now use: ``` MAKE=$(command -v gmake) ${MAKE:=make} CC="$CC" all >/dev/null || exit 1 ``` to find `gmake(1)` and if not `make(1)` to make. This commit updates the next and template try scripts accordingly. --- next/try.alt.sh | 3 ++- next/try.sh | 3 ++- template/entry/try.sh.judging | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/next/try.alt.sh b/next/try.alt.sh index 307a77795..1480c3fa4 100755 --- a/next/try.alt.sh +++ b/next/try.alt.sh @@ -24,7 +24,8 @@ # XXX - then change the 'all' to 'all alt' in the below command. - XXX # XXX - Later, if the submission wins, it can be changed to 'everything'. - XXX # XXX - - XXX -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen # diff --git a/next/try.sh b/next/try.sh index bae594d12..16c2a0086 100755 --- a/next/try.sh +++ b/next/try.sh @@ -24,7 +24,8 @@ # XXX - then change the 'all' to 'all alt' in the below command. - XXX # XXX - Later, if the submission wins, it can be changed to 'everything'. - XXX # XXX - - XXX -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen # diff --git a/template/entry/try.sh.judging b/template/entry/try.sh.judging index c24acf20d..6d2da496e 100755 --- a/template/entry/try.sh.judging +++ b/template/entry/try.sh.judging @@ -9,7 +9,8 @@ # make sure the program has been built # -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen #