Module: check_mk
Branch: master
Commit: 16d40842fffc09a8c733793ee22929c49aded883
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=16d40842fffc09…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue May 1 12:11:02 2012 +0200
Fix headrification for /usr/bin/bash files
---
doc/helpers/headrify | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/helpers/headrify b/doc/helpers/headrify
index 4690902..bfb3e3d 100755
--- a/doc/helpers/headrify
+++ b/doc/helpers/headrify
@@ -51,6 +51,9 @@ headrify ()
elif [ "${headline:0:11}" = "#!/bin/bash" ] ; then
comment="# "
bangpath="#!/bin/bash"
+ elif [ "${headline:0:15}" = "#!/usr/bin/bash" ] ; then
+ comment="# "
+ bangpath="#!/usr/bin/bash"
else
bangpath=""
case "${file##*/}" in