From: Date: April 15 2005 2:22am Subject: bk commit into 4.1 tree (jimw:1.2181) BUG#9852 List-Archive: http://lists.mysql.com/internals/24033 X-Bug: 9852 Message-Id: <20050415002222.476DCA85AB@rama.trainedmonkey.com> Below is the list of changes that have just been committed into a local 4.1 repository of jimw. When jimw does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2181 05/04/14 17:22:18 jimw@stripped +1 -0 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 1.38 05/04/14 17:22:16 jimw@stripped +8 -2 Use shell function instead of less portable alias command to create replacements for LSB functions, and also use argument in our replacements. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: jimw # Host: rama.(none) # Root: /home/jimw/my/mysql-4.1-9852 --- 1.37/support-files/mysql.server.sh 2005-03-31 02:25:00 -08:00 +++ 1.38/support-files/mysql.server.sh 2005-04-14 17:22:16 -07:00 @@ -61,8 +61,14 @@ 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