Commit 7603ac53 authored by Terje Rosten's avatar Terje Rosten

Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE

Post push fix: Solaris 10 /bin/sh don't understand $().
parent 97fad851
......@@ -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) ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment