]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix the setting of $make.
authorWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 23:49:55 +0000 (16:49 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 23:49:55 +0000 (16:49 -0700)
packaging/smart-rebuild

index c614f79ded90372dce50e151b74f9c7b24c3929b..dcf10286108208a84cc75d9f0ad8f5a6dc5d3f52 100755 (executable)
@@ -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