Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
a8df88ab
Commit
a8df88ab
authored
Aug 15, 2016
by
neil
Browse files
https://github.com/Neilpang/acme.sh/issues/263
parent
df9547ae
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
a8df88ab
...
@@ -733,7 +733,7 @@ _mktemp() {
...
@@ -733,7 +733,7 @@ _mktemp() {
_inithttp
()
{
_inithttp
()
{
if
[
-z
"
$HTTP_HEADER
"
]
;
then
if
[
-z
"
$HTTP_HEADER
"
]
||
!
touch
"HTTP_HEADER"
;
then
HTTP_HEADER
=
"
$(
_mktemp
)
"
HTTP_HEADER
=
"
$(
_mktemp
)
"
_debug2 HTTP_HEADER
"
$HTTP_HEADER
"
_debug2 HTTP_HEADER
"
$HTTP_HEADER
"
fi
fi
...
@@ -2772,7 +2772,7 @@ _installOnline() {
...
@@ -2772,7 +2772,7 @@ _installOnline() {
if
[
!
"
$BRANCH
"
]
;
then
if
[
!
"
$BRANCH
"
]
;
then
BRANCH
=
"master"
BRANCH
=
"master"
fi
fi
_initpath
target
=
"
$PROJECT
/archive/
$BRANCH
.tar.gz"
target
=
"
$PROJECT
/archive/
$BRANCH
.tar.gz"
_info
"Downloading
$target
"
_info
"Downloading
$target
"
localname
=
"
$BRANCH
.tar.gz"
localname
=
"
$BRANCH
.tar.gz"
...
...
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