mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
fix format
This commit is contained in:
parent
fa93d68b08
commit
ed3dda7da9
6
acme.sh
6
acme.sh
@ -458,8 +458,7 @@ _h2b() {
|
|||||||
_debug2 "xargs"
|
_debug2 "xargs"
|
||||||
echo "$hex" | sed 's/\([0-9A-F]\{2\}\)/\\\\\\x\1/gI' | xargs printf
|
echo "$hex" | sed 's/\([0-9A-F]\{2\}\)/\\\\\\x\1/gI' | xargs printf
|
||||||
else
|
else
|
||||||
for h in $(echo "$hex" | sed 's/\([0-9A-F]\{2\}\)/ \1/gI')
|
for h in $(echo "$hex" | sed 's/\([0-9A-F]\{2\}\)/ \1/gI'); do
|
||||||
do
|
|
||||||
if [ -z "$h" ]; then
|
if [ -z "$h" ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@ -467,8 +466,7 @@ _h2b() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
for c in $(echo "$hex" | sed 's/\([0-9A-F]\)/ \1/gI')
|
for c in $(echo "$hex" | sed 's/\([0-9A-F]\)/ \1/gI'); do
|
||||||
do
|
|
||||||
if [ -z "$ic" ]; then
|
if [ -z "$ic" ]; then
|
||||||
ic=$c
|
ic=$c
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user