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
8d6de95c
Commit
8d6de95c
authored
Mar 20, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#199 rename mysql and mariadb repos
parent
a95eb950
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
scripts/common.sh
scripts/common.sh
+2
-3
No files found.
scripts/common.sh
View file @
8d6de95c
...
@@ -161,8 +161,7 @@ function parse_mysqlbuild() {
...
@@ -161,8 +161,7 @@ function parse_mysqlbuild() {
if
[
-z
$jemalloc_tree
]
;
then
jemalloc_tree
=
$jemalloc_version
;
fi
if
[
-z
$jemalloc_tree
]
;
then
jemalloc_tree
=
$jemalloc_version
;
fi
fi
fi
mysql_repo
=
$mysql_distro
mysql_repo
=
$mysql_distro
# 5.6 is in another repo
if
[[
$mysql_version
=
~ ^
([
0-9]+
\\
.[0-9]+
)
]]
;
then
mysql_repo
=
$mysql_distro
-
${
BASH_REMATCH
[1]
}
;
else
exitcode
=
1
;
fi
if
[[
$mysql_distro
=
mysql
&&
$mysql_version
=
~ ^5.6
]]
;
then
mysql_repo
=
mysql-5.6
;
fi
else
else
exitcode
=
1
exitcode
=
1
fi
fi
...
@@ -176,7 +175,7 @@ function parse_mysql() {
...
@@ -176,7 +175,7 @@ function parse_mysql() {
mysql_distro
=
${
BASH_REMATCH
[1]
}
mysql_distro
=
${
BASH_REMATCH
[1]
}
mysql_version
=
${
BASH_REMATCH
[2]
}
mysql_version
=
${
BASH_REMATCH
[2]
}
mysql_repo
=
$mysql_distro
mysql_repo
=
$mysql_distro
if
[[
$mysql_
distro
=
mysql
&&
$mysql_version
=
~ ^5.6
]]
;
then
mysql_repo
=
mysql-5.6
;
fi
if
[[
$mysql_
version
=
~ ^
([
0-9]+
\\
.[0-9]+
)
]]
;
then
mysql_repo
=
$mysql_distro
-
${
BASH_REMATCH
[1]
}
;
else
exitcode
=
1
;
fi
exitcode
=
0
exitcode
=
0
else
else
exitcode
=
1
exitcode
=
1
...
...
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