[omd-commits] OMD Git: omd: check_mk: fixed creation of bin/mkp

git version control git at mathias-kettner.de
Fri Dec 17 08:05:43 CET 2010


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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Fri Dec 17 08:05:39 2010 +0100

check_mk: fixed creation of bin/mkp

---

 packages/check_mk/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/packages/check_mk/Makefile b/packages/check_mk/Makefile
index f3d54b0..5dc479b 100644
--- a/packages/check_mk/Makefile
+++ b/packages/check_mk/Makefile
@@ -1,5 +1,6 @@
 include ../../Makefile.omd
 
+SHELL = /bin/bash
 NAME = check_mk
 VERSION = 1.1.9i2
 DIR = $(NAME)-$(VERSION)
@@ -55,7 +56,7 @@ install:
 	# Install special version of check_mk dealing with site specific defaults
 	install -m 755 check_mk $(DESTDIR)$(OMD_ROOT)/bin
 	ln -sfn check_mk $(DESTDIR)$(OMD_ROOT)/bin/cmk
-	echo -e '#!/bin/sh\nexec check_mk -P "$@"' > $(DESTDIR)$(OMD_ROOT)/bin/mkp
+	echo -e '#!/bin/sh\nexec check_mk -P "$$@"' > $(DESTDIR)$(OMD_ROOT)/bin/mkp
 	chmod 755 $(DESTDIR)$(OMD_ROOT)/bin/mkp
 	install -m 755 lq       $(DESTDIR)$(OMD_ROOT)/bin
 



More information about the omd-commits mailing list