summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2019-07-01 13:55:05 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2019-07-01 13:55:34 +0300
commitecd8f44844c84b7ab0865eeb4e6e0ddd15836e16 (patch)
treea6f9738c9813d2492843ffaf5c59cea2b2d628de
parentd890c45b62c0d841b464a0d3539f2c99f241aacf (diff)
downloadmariadb-git-ecd8f44844c84b7ab0865eeb4e6e0ddd15836e16.tar.gz
Extra comment to mysql_install_db
Explain why it makes sense to not consider builddir == srcdir directly, for cases when we do out-of-source builds.
-rw-r--r--scripts/mysql_install_db.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 27256994ef0..fb1663d9d69 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -243,6 +243,8 @@ then
fi
if test -n "$srcdir"
then
+ # In an out-of-source build, builddir is not srcdir. Try to guess where
+ # builddir is by looking for my_print_defaults.
if test -z "$builddir"
then
if test -x "$dirname0/extra/my_print_defaults"