summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-12-17 23:13:33 +0000
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-12-17 23:13:33 +0000
commitda97e272194fedddec730d1ed02bd98ae73d1768 (patch)
treedc6c5569199795a71afcacc4e28520f53b87a9d5 /scripts
parent30cfda089fdbeb2915c35e0609984189a9855b73 (diff)
downloadmariadb-git-da97e272194fedddec730d1ed02bd98ae73d1768.tar.gz
bug#51925: 5.5 installed header file layout is incorrect
Additional space-in-directory-name protection.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh
index 97a8a723043..67484ec13b7 100644
--- a/scripts/mysql_config.sh
+++ b/scripts/mysql_config.sh
@@ -92,9 +92,9 @@ plugindir_rel=`echo $plugindir | sed -e "s;^$basedir/;;"`
fix_path plugindir $plugindir_rel lib/mysql/plugin lib/plugin
pkgincludedir='@pkgincludedir@'
-if [ -f $basedir/include/mysql/mysql.h ]; then
+if [ -f "$basedir/include/mysql/mysql.h" ]; then
pkgincludedir="$basedir/include/mysql"
-elif [ -f $basedir/include/mysql.h ]; then
+elif [ -f "$basedir/include/mysql.h" ]; then
pkgincludedir="$basedir/include"
fi