summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-05-25 18:21:40 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-05-25 18:21:40 +0200
commitb9962a7ddc81bf8b2bf567149dd447b0c1815071 (patch)
tree308588f01c39113b83a8336c462dd78e9aa7e98c /scripts
parent1e658cb038f2ceeec16c6beb46a0368a860c6264 (diff)
downloadmariadb-git-b9962a7ddc81bf8b2bf567149dd447b0c1815071.tar.gz
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqld_safe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index 34dc019a82a..23b5efcaf2b 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -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