From 83f7372369f5c884e9abf02f85879288876b28b0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 31 Jan 2021 11:10:38 -0800 Subject: [PATCH] A couple "make" tweaks. --- packaging/smart-make | 2 +- prepare-source | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/smart-make b/packaging/smart-make index 6f634d64..25aa1a35 100755 --- a/packaging/smart-make +++ b/packaging/smart-make @@ -4,7 +4,7 @@ set -e export LANG=C -make=`which gmake 2>/dev/null` || make=`which make 2>/dev/null` +make=`which gmake 2>/dev/null` || make=make branch=`packaging/prep-auto-dir` if test x"$branch" = x; then diff --git a/prepare-source b/prepare-source index f5b7b46c..dd0cbd6a 100755 --- a/prepare-source +++ b/prepare-source @@ -43,7 +43,8 @@ fi for action in "${@}"; do case "$action" in build|make) - make -f "$dir/prepare-source.mak" + make=`which gmake 2>/dev/null` || make=make + $make -f "$dir/prepare-source.mak" ;; fetch|fetchgen) if test "$action" = fetchgen; then -- 2.47.2