[omd-commits] OMD Git: omd: python-modules: Fail install when single module installation fails

git version control git at mathias-kettner.de
Mon Jun 6 17:26:42 CEST 2016


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Mon Jun  6 17:26:35 2016 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Mon Jun  6 17:26:35 2016 +0200

python-modules: Fail install when single module installation fails

---

 packages/python-modules/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/python-modules/Makefile b/packages/python-modules/Makefile
index 0bf6b3c..1754530 100644
--- a/packages/python-modules/Makefile
+++ b/packages/python-modules/Makefile
@@ -79,7 +79,7 @@ check-python:
 
 install:
 	mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/python
-	cd dest && \
+	set -e ; cd dest && \
 	    export PYTHONPATH=$$PYTHONPATH:$(DESTDIR)$(OMD_ROOT)/lib/python ; \
 	    for M in $$(ls); do \
 		echo "Installing $$M..." ; \



More information about the omd-commits mailing list