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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e75e8d63
Commit
e75e8d63
authored
Jan 23, 2008
by
tsmith@ramayana.hindu.god
Browse files
Options
Browse Files
Download
Plain Diff
Merge ramayana.hindu.god:/home/tsmith/m/bk/build/done/b32679/51
into ramayana.hindu.god:/home/tsmith/m/bk/build/51
parents
1803b4ca
95b791c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+2
-1
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+12
-3
No files found.
scripts/make_binary_distribution.sh
View file @
e75e8d63
...
...
@@ -23,7 +23,8 @@
# Note that the structure created by this script is slightly different from
# what a normal "make install" would produce. No extra "mysql" sub directory
# will be created, i.e. no "$prefix/include/mysql", "$prefix/lib/mysql" or
# "$prefix/share/mysql".
# "$prefix/share/mysql". This is because the build system explicitly calls
# make with pkgdatadir=<datadir>, etc.
#
# In GNU make/automake terms
#
...
...
scripts/mysqld_safe.sh
View file @
e75e8d63
...
...
@@ -202,14 +202,22 @@ parse_arguments() {
# First, try to find BASEDIR and ledir (where mysqld is)
#
if
echo
'@pkgdatadir@'
|
grep
'^@prefix@'
>
/dev/null
then
relpkgdata
=
`
echo
'@pkgdatadir@'
|
sed
-e
's,^@prefix@,,'
-e
's,^/,,'
-e
's,^,./,'
`
else
# pkgdatadir is not relative to prefix
relpkgdata
=
'@pkgdatadir@'
fi
MY_PWD
=
`
pwd
`
# Check for the directories we would expect from a binary release install
if
test
-f
./share/mysql
/english/errmsg.sys
-a
-x
./bin/mysqld
if
test
-f
"
$relpkgdata
"
/english/errmsg.sys
-a
-x
./bin/mysqld
then
MY_BASEDIR_VERSION
=
$MY_PWD
# Where bin, share and data are
ledir
=
$MY_BASEDIR_VERSION
/bin
# Where mysqld is
# Check for the directories we would expect from a source install
elif
test
-f
./share/mysql
/english/errmsg.sys
-a
-x
./libexec/mysqld
elif
test
-f
"
$relpkgdata
"
/english/errmsg.sys
-a
-x
./libexec/mysqld
then
MY_BASEDIR_VERSION
=
$MY_PWD
# Where libexec, share and var are
ledir
=
$MY_BASEDIR_VERSION
/libexec
# Where mysqld is
...
...
@@ -219,6 +227,7 @@ else
ledir
=
@libexecdir@
fi
#
# Second, try to find the data directory
#
...
...
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