summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqld_safe.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index 11b692ec928..1b30a3bb15b 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -321,7 +321,7 @@ set_malloc_lib() {
if [ "$malloc_lib" = tcmalloc ]; then
malloc_lib=
- for libdir in $(echo $malloc_dirs); do
+ for libdir in `echo $malloc_dirs`; do
for flavor in _minimal '' _and_profiler _debug; do
tmp="$libdir/libtcmalloc$flavor.so"
#log_notice "DEBUG: Checking for malloc lib '$tmp'"
@@ -348,7 +348,7 @@ set_malloc_lib() {
fi
# Restrict to a the list in $malloc_dirs above
- case "$(dirname "$malloc_lib")" in
+ case "`dirname "$malloc_lib"`" in
/usr/lib) ;;
/usr/lib64) ;;
/usr/lib/i386-linux-gnu) ;;