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
805a0c7d
Commit
805a0c7d
authored
Apr 30, 2013
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#5 more portable mktemp
parent
a910ffa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/common.sh
scripts/common.sh
+1
-1
No files found.
scripts/common.sh
View file @
805a0c7d
...
@@ -55,7 +55,7 @@ function github_download() {
...
@@ -55,7 +55,7 @@ function github_download() {
if
[
$?
!=
0
]
;
then return
;
fi
if
[
$?
!=
0
]
;
then return
;
fi
rm
-f
$dest
.tar.gz
rm
-f
$dest
.tar.gz
elif
[
$github_use_ssh
!=
0
]
;
then
elif
[
$github_use_ssh
!=
0
]
;
then
tempdir
=
$(
mktemp
-d
-p
$PWD
)
tempdir
=
$(
TMPDIR
=
$PWD
mktemp
-d
)
retry git clone git@github.com:
${
repo
}
.git
$tempdir
retry git clone git@github.com:
${
repo
}
.git
$tempdir
if
[
$?
!=
0
]
;
then return
;
fi
if
[
$?
!=
0
]
;
then return
;
fi
pushd
$tempdir
pushd
$tempdir
...
...
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