From: Wayne Davison Date: Fri, 24 Jul 2020 23:49:55 +0000 (-0700) Subject: Fix the setting of $make. X-Git-Tag: v3.2.3pre1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39741c7d50901b2d9724e40d7ad8c51011d80aaf;p=thirdparty%2Frsync.git Fix the setting of $make. --- diff --git a/packaging/smart-rebuild b/packaging/smart-rebuild index c614f79d..dcf10286 100755 --- a/packaging/smart-rebuild +++ b/packaging/smart-rebuild @@ -1,6 +1,8 @@ -#!/bin/sh -e +#!/bin/sh + +set -e -make=`which make || which gmake` +make=`which make 2>/dev/null` || make=`which gmake 2>/dev/null` branch=`packaging/prep-auto-dir` if test x"$branch" = x; then