[checkmk-commits] Check_MK Git: check_mk: headrify: do not loose ksh93

Mathias Kettner mk at mathias-kettner.de
Sat Aug 23 18:26:05 CEST 2014


Module: check_mk
Branch: master
Commit: 0deaf2deb798173af66f5706f09768f287c8268f
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0deaf2deb798173af66f5706f09768f287c8268f

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Sat Aug 23 17:51:03 2014 +0200

headrify: do not loose ksh93

---

 doc/helpers/headrify |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/helpers/headrify b/doc/helpers/headrify
index 3f1c435..cc9ed68 100755
--- a/doc/helpers/headrify
+++ b/doc/helpers/headrify
@@ -58,12 +58,12 @@ headrify ()
   if [ "${headline:0:9}" = "#!/bin/sh" ] ; then
       comment="# "
       bangpath="#!/bin/sh"
-  elif [ "${headline:0:14}" = "#!/usr/bin/ksh" ] ; then
-      comment="# "
-      bangpath="#!/usr/bin/ksh"
   elif [ "${headline:0:16}" = "#!/usr/bin/ksh93" ] ; then
       comment="# "
       bangpath="#!/usr/bin/ksh93"
+  elif [ "${headline:0:14}" = "#!/usr/bin/ksh" ] ; then
+      comment="# "
+      bangpath="#!/usr/bin/ksh"
   elif [ "${headline:0:11}" = "#!/bin/bash" ] ; then
       comment="# "
       bangpath="#!/bin/bash"



More information about the checkmk-commits mailing list