diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-07-03 15:00:16 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-07-03 15:00:16 +0000 |
commit | 1ca485eb821cd388270a996318e3ac9a8c9f9728 (patch) | |
tree | 6080eac408a03899ab89ab2a044dda50e8d2ca6a | |
parent | c767ee06459b3bce99c1c6f011c3cd1d547e9eeb (diff) | |
download | monitoring-plugins-1ca485eb821cd388270a996318e3ac9a8c9f9728.tar.gz |
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
-rwxr-xr-x | tools/setup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/setup b/tools/setup index 904120f0..084399b0 100755 --- a/tools/setup +++ b/tools/setup @@ -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. |