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
30d08240
Commit
30d08240
authored
Apr 25, 2013
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
closes #4 add non-authenticated download method
parent
0dd73c25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
scripts/make.mysql.bash
scripts/make.mysql.bash
+13
-1
No files found.
scripts/make.mysql.bash
View file @
30d08240
...
...
@@ -96,7 +96,7 @@ function github_download() {
--file
$dest
.tar.gz
if
[
$?
!=
0
]
;
then return
;
fi
rm
-f
$dest
.tar.gz
el
se
el
if
[
$github_use_ssh
!=
0
]
;
then
tempdir
=
$(
mktemp
-d
-p
$PWD
)
retry git clone git@github.com:
${
repo
}
.git
$tempdir
if
[
$?
!=
0
]
;
then return
;
fi
...
...
@@ -115,6 +115,17 @@ function github_download() {
--directory
$dest
if
[
$?
!=
0
]
;
then return
;
fi
rm
-rf
$tempdir
else
retry curl
\
--location
https://api.github.com/repos/
$repo
/tarball/
$rev
\
--output
$dest
.tar.gz
tar
--extract
\
--gzip
\
--directory
=
$dest
\
--strip-components
=
1
\
--file
$dest
.tar.gz
if
[
$?
!=
0
]
;
then return
;
fi
rm
-f
$dest
.tar.gz
fi
}
...
...
@@ -636,6 +647,7 @@ system=$(uname -s | tr '[:upper:]' '[:lower:]')
arch
=
$(
uname
-m
|
tr
'[:upper:]'
'[:lower:]'
)
makejobs
=
$(
get_ncpus
)
github_use_ssh
=
0
git_tag
=
HEAD
mysqlbuild
=
mysql
=
mysql-5.5.30
...
...
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