From: Michael Gebetsroither Date: Thu, 16 Feb 2006 01:13:11 +0000 (+0100) Subject: fixed problem with bash as /bin/sh X-Git-Tag: 1.02.08 X-Git-Url: http://git.grml.org/?p=grml-shlib.git;a=commitdiff_plain;h=4a14c07dbcde063b32bbe8e30664d58d5212e94a fixed problem with bash as /bin/sh --- diff --git a/debian/changelog b/debian/changelog index c033615..1af2ddc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-shlib (1.02.08) unstable; urgency=low + + * fixed problem with bash as /bin/sh (thanks at mika for reporting) + + -- Michael Gebetsroither Thu, 16 Feb 2006 02:11:13 +0100 + grml-shlib (1.02.07) unstable; urgency=low * changed build system diff --git a/sh-lib b/sh-lib index 51c2e79..9330a5b 100644 --- a/sh-lib +++ b/sh-lib @@ -618,7 +618,7 @@ function _touchService function _createServiceFunctions { - for i in "start" "stop" "restart" "reload" "force-reload"; do + for i in "start" "stop" "restart" "reload" "forcereload"; do eval "function ${i}Service { _touchService ${i} \"\$1\" \"\$2\" \"\$3\"; }" done }