*** empty log message ***
authorArt Cancro <ajc@citadel.org>
Thu, 9 Jun 2005 20:20:40 +0000 (20:20 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 9 Jun 2005 20:20:40 +0000 (20:20 +0000)
citadel/newinstall.sh

index 66fd54517956c1642a237fbd55432d87f8795c88..1770a7279632a89b49a40dc661952471f927ffe9 100644 (file)
@@ -335,8 +335,18 @@ do_config () {
 
 # 1. Gather information about the target system
 
-[ -n "$MAKE" ] && [ -x `which gmake` ] && MAKE=`which gmake`
-##### FIXME: non-GNU make does not work #####[ -z "$MAKE" ] && [ -x `which make` ] && MAKE=`which make`
+# FIXME: non-GNU make does not work
+
+gmake -v || {
+       echo
+       echo 'Easy Install requires GNU Make (gmake), which was not found.'
+       echo 'Please install gmake and try again.'
+       echo
+       exit 1
+}
+MAKE=`which gmake`
+export MAKE
+
 clear
 
 os=`uname`