From 5e581186a47de8d2d562b83106436c597fb37310 Mon Sep 17 00:00:00 2001 From: "jimw@mysql.com" <> Date: Thu, 14 Apr 2005 17:22:18 -0700 Subject: Fix mysql.server.sh to use shell functions as replacement for LSB init functions when they aren't available. (Bug #9852) --- support-files/mysql.server.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'support-files/mysql.server.sh') diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 376d9051b10..f9015824e6b 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -61,8 +61,14 @@ lsb_functions="/lib/lsb/init-functions" if test -f $lsb_functions ; then source $lsb_functions else - alias log_success_msg="echo \ SUCCESS! " - alias log_failure_msg="echo \ ERROR! " + log_success_msg() + { + echo " SUCCESS! $@" + } + log_failure_msg() + { + echo " ERROR! $@" + } fi PATH=/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin -- cgit v1.2.1