* newinstall.sh: fix detection of gmake/make
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 29 Aug 2004 15:18:42 +0000 (15:18 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 29 Aug 2004 15:18:42 +0000 (15:18 +0000)
citadel/ChangeLog
citadel/newinstall.sh

index 3de013abc6e0063ab94299132a569784ecdea97d..4c6232b741912b5b79b6a77d64d1e6eec2ea3b85 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 625.5  2004/08/29 15:18:41  error
+ * newinstall.sh: fix detection of gmake/make
+
  Revision 625.4  2004/08/28 14:21:25  error
  * Change the logging level of some messages and add a couple of new ones to
    show when a network node is connecting.
@@ -6015,3 +6018,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index d21b5607860417dc24aeaa5e06eec575d0674972..fecac1d726d9aed51623de1c16a1b1696d3b91f9 100644 (file)
@@ -300,8 +300,8 @@ do_config () {
 
 # 1. Gather information about the target system
 
-[ x$MAKE == x ] && MAKE=`which gmake`
-[ x$MAKE == x ] && MAKE=`which make`
+[ -n $MAKE ] && MAKE=`which gmake 2>/dev/null`
+[ -n $MAKE ] && MAKE=`which make 2>/dev/null`
 clear
 
 os=`uname`