[omd-commits] OMD Git: omd: base: Added error message when make not installed

git version control git at mathias-kettner.de
Sat Jul 9 12:56:33 CEST 2011


Module:   omd
Branch:   master
Commit:   d2addc9d6ab9c0f542b6108d1c1066b7aa2677f6
URL:      http://omdistro.org/projects/omd/repository/revisions/d2addc9d6ab9c0f542b6108d1c1066b7aa2677f6

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Sat Jul  9 12:34:10 2011 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Sat Jul  9 12:34:10 2011 +0200

base: Added error message when make not installed

---

 configure |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 60d45f7..e82bb88 100755
--- a/configure
+++ b/configure
@@ -16,6 +16,11 @@ then
     exit 1
 fi
 
+if ! which make >/dev/null 2>&1; then
+    echo "Please install \"make\" before executing this script."
+    exit 1
+fi
+
 BUILD_PACS=$( make -f echo.mk FILE=$M VAR=BUILD_PACKAGES )
 PACKAGER=$( make -f echo.mk FILE=$M VAR=PACKAGE_INSTALL )
 BECOME_ROOT=$( make -f echo.mk FILE=$M VAR=BECOME_ROOT )



More information about the omd-commits mailing list