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
f716f606
Commit
f716f606
authored
Jan 27, 2020
by
neilpang
Browse files
minor check update hash for branch name
parent
05aa26e6
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
f716f606
...
...
@@ -6315,7 +6315,11 @@ _installOnline() {
}
_getMasterHash() {
_hash_url
=
"https://api.github.com/repos/Neilpang/acme.sh/git/refs/heads/master"
_b="$BRANCH"
if [ -z "$_b" ]; then
_b="master"
fi
_hash_url="https://api.github.com/repos/Neilpang/acme.sh/git/refs/heads/$_b"
_get $_hash_url | tr -d "\r\n" | tr '{},' '\n' | grep '"sha":' | cut -d '"' -f 4
}
...
...
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