ganapathi / rpms / mariadb

Forked from rpms/mariadb 4 years ago
Clone
4b7078
Don't guess basedir in mysql_config; we place it under _libdir because
4b7078
of multilib conflicts, so use rather configured @prefix@ path directly.
4b7078
4b7078
diff -up mariadb-10.0.13/scripts/mysql_config.sh.patch32 mariadb-10.0.13/scripts/mysql_config.sh
4b7078
--- mariadb-10.0.13/scripts/mysql_config.sh.patch32	2014-08-13 17:28:51.174776518 +0200
4b7078
+++ mariadb-10.0.13/scripts/mysql_config.sh	2014-08-13 17:32:18.205275028 +0200
4b7078
@@ -76,8 +76,7 @@ get_full_path ()
4b7078
 
4b7078
 me=`get_full_path $0`
4b7078
 
4b7078
-# Script might have been renamed but assume mysql_<something>config<something>
4b7078
-basedir=`echo $me | sed -e 's;/bin/mysql_.*config.*;;'`
4b7078
+basedir='@prefix@'
4b7078
 
4b7078
 ldata='@localstatedir@'
4b7078
 execdir='@libexecdir@'