Module: check_mk
Branch: master
Commit: 202d53791f2269f62d47200cf47639e7781d56cb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=202d53791f2269…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 23 17:33:42 2014 +0200
headrify: skip README files really, now
---
doc/helpers/headrify | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/helpers/headrify b/doc/helpers/headrify
index 33a2bdc..965ac1e 100755
--- a/doc/helpers/headrify
+++ b/doc/helpers/headrify
@@ -43,6 +43,12 @@ headrify ()
echo "Skipping $file. It's not a file."
return
fi
+
+ if [ "${file##*/}" = README ] ; then
+ echo "skipping README file."
+ return
+ fi
+
echo "$file..."
PERMISSIONS=$(stat -c %a "$file")
TMP=$(mktemp .headrify.new.XXXXXX)