Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
50e59338
Commit
50e59338
authored
Jan 11, 2019
by
Daniel Black
Committed by
Sergei Golubchik
Jan 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-14580: mysql_install_db elements based on dirname of mysql_install_db
Closes #1086
parent
0d3c49ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+11
-0
No files found.
scripts/mysql_install_db.sh
View file @
50e59338
...
...
@@ -253,6 +253,9 @@ then
cannot_find_file my_print_defaults
$basedir
/bin
$basedir
/extra
exit
1
fi
elif
test
-x
"
$(
dirname
$0
)
/../@bindir@/my_print_defaults"
then
print_defaults
=
"
$(
dirname
$0
)
/../@bindir@/my_print_defaults"
else
print_defaults
=
"@bindir@/my_print_defaults"
fi
...
...
@@ -304,6 +307,14 @@ then
cannot_find_file fill_help_tables.sql @pkgdata_locations@
exit
1
fi
# relative from where the script was run for a relocatable install
elif
test
-x
"
$(
dirname
$0
)
/../@INSTALL_SBINDIR@/mysqld"
then
basedir
=
"
$(
dirname
$0
)
/../"
bindir
=
"
$basedir
/@INSTALL_SBINDIR@"
resolveip
=
"
$bindir
/resolveip"
mysqld
=
"
$basedir
/@INSTALL_SBINDIR@/mysqld"
pkgdatadir
=
"
$basedir
/@INSTALL_MYSQLSHAREDIR@"
else
basedir
=
"@prefix@"
bindir
=
"@bindir@"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment