46da7a
--- mariadb-5.5.40/scripts/mysql_config.sh.basedir	2014-10-08 15:19:53.000000000 +0200
46da7a
+++ mariadb-5.5.40/scripts/mysql_config.sh	2014-11-06 13:36:54.025734370 +0100
46da7a
@@ -77,7 +77,7 @@
031387
 me=`get_full_path $0`
031387
 
46da7a
 # Script might have been renamed but assume mysql_<something>config<something>
46da7a
-basedir=`echo $me | sed -e 's;/bin/mysql_.*config.*;;'`
031387
+basedir='@prefix@'
031387
 
031387
 ldata='@localstatedir@'
031387
 execdir='@libexecdir@'