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
2a97a05b
Commit
2a97a05b
authored
Apr 29, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add usage, remove unused vars, support --mysql
parent
96cb1ae6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
scripts/common.sh
scripts/common.sh
+14
-0
scripts/make.mysql.new.bash
scripts/make.mysql.new.bash
+7
-5
No files found.
scripts/common.sh
View file @
2a97a05b
...
...
@@ -162,3 +162,17 @@ function parse_mysqlbuild() {
fi
test
$exitcode
=
0
}
# split mysql into mysql_distro and mysql_version
function
parse_mysql
()
{
local
mysql
=
$1
if
[[
$mysql
=
~ ^
(
mysql|mariadb
)
-
(
.
*
)
$
]]
;
then
mysql_distro
=
${
BASH_REMATCH
[1]
}
mysql_version
=
${
BASH_REMATCH
[2]
}
if
[[
$mysql_distro
=
mysql
&&
$mysql_version
=
~ ^5.6
]]
;
then
mysql_distro
=
mysql56
;
fi
exitcode
=
0
else
exitcode
=
1
fi
test
$exitcode
=
0
}
scripts/make.mysql.new.bash
100644 → 100755
View file @
2a97a05b
...
...
@@ -3,6 +3,12 @@
set
-e
set
-u
function
usage
()
{
echo
"--mysqlbuild=
$mysqlbuild
"
echo
"--mysql=
$mysql
"
return
1
}
pushd
$(
dirname
$0
)
source
./common.sh
popd
...
...
@@ -15,11 +21,7 @@ makejobs=$(get_ncpus)
git_tag
=
HEAD
mysqlbuild
=
mysql
=
mysql-5.5.30
do_s3
=
0
s3_build_bucket
=
tokutek-mysql-build
s3_release_bucket
=
tokutek-mysql
do_make_check
=
0
mysql
=
cc
=
gcc47
cxx
=
g++47
build_debug
=
0
...
...
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