Module: check_mk
Branch: master
Commit: eb32dfd6c8592e4d7ebef7fa135e549255c9f06b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb32dfd6c8592e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 21 20:29:10 2018 +0100
Fixed invalid package names (python -> Python, check_mk_{enterprise,managed} ->
{enterprise,managed}
Change-Id: I26850927512d7d08a462f86791f62224215f02d5
---
omd/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/omd/Makefile b/omd/Makefile
index 09cd3b3..512334b 100644
--- a/omd/Makefile
+++ b/omd/Makefile
@@ -19,7 +19,7 @@ include packages/packages.make
PACKAGES := \
libgsf \
perl-modules \
- python \
+ Python \
freetds \
re2 \
python-modules \
@@ -121,7 +121,10 @@ $(PRE_SKEL): install-global
# Install skeleton files (subdirs skel/ in packages' directories)
mkdir -p $(DESTDIR)$(OMD_ROOT)/skel
@set -e ; cd packages ; for p in $(PACKAGES) ; do \
- if [ -d "$$p" ] && [ -d "$$p/skel" ] ; then \
+ if [ ! -d "$$p" ] ; then \
+ echo "Invalid package: $$p"; exit 1 ; \
+ fi ; \
+ if [ -d "$$p/skel" ] ; then \
tar cf - -C $$p/skel --exclude="*~"
--exclude=".gitignore" . | tar xvf - -C $(DESTDIR)$(OMD_ROOT)/skel ; \
fi ;\
done