Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
9e5ae303
Commit
9e5ae303
authored
Feb 25, 2021
by
neilpang
Committed by
Alexander Kulumbeg
Mar 21, 2021
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/3402
parent
0fe35383
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
9e5ae303
...
...
@@ -562,8 +562,16 @@ if _exists xargs && [ "$(printf %s '\\x41' | xargs printf)" = 'A' ]; then
fi
_h2b
()
{
if
_exists xxd
&&
xxd
-r
-p
2>/dev/null
;
then
return
if
_exists xxd
;
then
if
_contains
"
$(
xxd
--help
2>&1
)
"
"assumes -c30"
;
then
if
xxd
-r
-p
-c
9999 2>/dev/null
;
then
return
fi
else
if
xxd
-r
-p
2>/dev/null
;
then
return
fi
fi
fi
hex
=
$(
cat
)
...
...
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