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
commit6c70c33f12534917c68e691f20be574007cff589 (patch)
treedc6c5569199795a71afcacc4e28520f53b87a9d5 /scripts
parenta3deb16810cef3181350e77c87f33fc044ced0b1 (diff)
downloadmariadb-git-6c70c33f12534917c68e691f20be574007cff589.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