From 1ca485eb821cd388270a996318e3ac9a8c9f9728 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 3 Jul 2003 15:00:16 +0000 Subject: 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 diff --git a/tools/setup b/tools/setup index 904120f..084399b 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. -- cgit v0.10-9-g596f