#At file:///export/home/tmp/ss156133/z/44736-51/ based on revid:davi.arnaut@stripped
2910 Staale Smedseng 2009-05-25
Bug #44736 mysqld_safe's my_which() is broken and
doesn't find 'logger'
Due to a variable quoting mistake, the $PATH environment
variable isn't parsed correctly when searching for the
existence of the desired executable(s) (logger in this
case).
This patch removes the quotes.
modified:
scripts/mysqld_safe.sh
=== modified file 'scripts/mysqld_safe.sh'
--- a/scripts/mysqld_safe.sh 2009-05-08 00:25:23 +0000
+++ b/scripts/mysqld_safe.sh 2009-05-25 16:21:40 +0000
@@ -67,7 +67,7 @@ my_which ()
ret=0
for file
do
- for dir in "$PATH"
+ for dir in $PATH
do
if [ -f "$dir/$file" ]
then
Attachment: [text/bzr-bundle] bzr/staale.smedseng@sun.com-20090525162140-si1aiu6jpx3wgpas.bundle