Module: check_mk
Branch: master
Commit: 173cc5e1757bdbd99bd3599ec4a3f11d4d55aaea
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=173cc5e1757bdb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 23 18:36:57 2014 +0200
headrify: make sure that no foreign sources are being touched
---
doc/helpers/headrify | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/helpers/headrify b/doc/helpers/headrify
index f989018..b933c7b 100755
--- a/doc/helpers/headrify
+++ b/doc/helpers/headrify
@@ -121,6 +121,7 @@ else
-not -name "jquery*" \
-not -name "*.rc" \
-not -name "*.rc.in" \
+ -not -name "ltmain.sh" \
-and \( \
-name "Makefile" -or \
-name "*.cfg" -or \
@@ -136,7 +137,7 @@ else
-name "*.sh" -or \
-name "*.spec" \) ; \
rm -f checks/*~ ; ls checks/* ; echo agents/plugins/* agents/* | tr ' ' \\n |
grep -vx agents/waitmax | grep -v /ltmain.sh | grep -vx agents/mk-job | fgrep -v
agents/hpux | fgrep -v windows | fgrep -v .exe | fgrep -v /plugins | fgrep -v .hpux ; ls
agents/windows/*.cc ; echo agents/windows/Makefile ; } \
- | grep -v /Privat/ | grep -v 'livestatus/nagios4?/' | grep -vx '' | \
+ | grep -v /Privat/ | egrep -v 'livestatus/nagios4?/' | grep -vx '' | \
while read file
do
headrify "$file" &