Code

Changing $() to `` to be compatible with Solaris' sh
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Jul 2003 15:00:16 +0000 (15:00 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Jul 2003 15:00:16 +0000 (15:00 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@584 f882894a-f735-0410-b71e-b25c423dba1c

tools/setup

index 904120f04210ef296f4414c62f0eb5bb65b1ff01..084399b03fba07ce0083995f560331e83c690eb0 100755 (executable)
@@ -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.