mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 08:42:17 -04:00
Changing $() to `` to be compatible with Solaris' sh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@584 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
c767ee0645
commit
1ca485eb82
1 changed files with 4 additions and 4 deletions
|
|
@ -6,10 +6,10 @@
|
|||
# Requires: automake, autoconf, dpkg-dev
|
||||
# set -e
|
||||
|
||||
MAKE=$(which gnumake)
|
||||
if test ! -x "$MAKE" ; then MAKE=$(which gmake) ; fi
|
||||
if test ! -x "$MAKE" ; then MAKE=$(which make) ; fi
|
||||
HAVE_GNU_MAKE=$($MAKE --version|grep -c "Free Software Foundation")
|
||||
MAKE=`which gnumake`
|
||||
if test ! -x "$MAKE" ; then MAKE=`which gmake` ; fi
|
||||
if test ! -x "$MAKE" ; then MAKE=`which make` ; fi
|
||||
HAVE_GNU_MAKE=`$MAKE --version|grep -c "Free Software Foundation"`
|
||||
|
||||
if test "$HAVE_GNU_MAKE" != "1"; then
|
||||
echo Could not find GNU make on this system, can not proceed with build.
|
||||
|
|
|
|||
Loading…
Reference in a new issue