[omd-commits] OMD Git: omd: do not ship orig files from patches

git version control git at mathias-kettner.de
Tue Oct 13 13:23:18 CEST 2015


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

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Tue Oct 13 11:48:01 2015 +0200
Commiter: Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Tue Oct 13 11:48:01 2015 +0200

do not ship orig files from patches

---

 packages/dokuwiki/Makefile |    1 +
 packages/nagios/Makefile   |    1 +
 2 files changed, 2 insertions(+)

diff --git a/packages/dokuwiki/Makefile b/packages/dokuwiki/Makefile
index 8b8157f..7871ceb 100644
--- a/packages/dokuwiki/Makefile
+++ b/packages/dokuwiki/Makefile
@@ -21,6 +21,7 @@ build:
 		echo "applying $$p..." ; \
 		( cd $(DIR) ; patch -p1 -b ) < $$p ; \
 	done
+	find $(DIR)/ -name \*.orig -exec rm {} \;
 
 install:
 	mkdir -p $(DESTDIR)$(OMD_ROOT)/share/dokuwiki
diff --git a/packages/nagios/Makefile b/packages/nagios/Makefile
index ab84015..8c144e7 100644
--- a/packages/nagios/Makefile
+++ b/packages/nagios/Makefile
@@ -38,6 +38,7 @@ patch:
 	    echo "applying $$p..." ; \
 	    ( cd $(DIR) ; patch -p1 -b ) < $$p ; \
 	done
+	find $(DIR)/ -name \*.orig -exec rm {} \;
 
 
 



More information about the omd-commits mailing list