Follow shfmt CI feedbacks

This commit is contained in:
Nicolas Rosset 2022-09-06 15:03:50 +02:00 committed by GitHub
parent bcef3c6c9b
commit 42ad49a761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,11 @@ _me_rest() {
data="$3" data="$3"
_debug "$ep" _debug "$ep"
cdate=$(LC_TIME=en_US.utf8; LANG=C date -u +"%a, %d %b %Y %T %Z") cdate=$(
LC_TIME=en_US.utf8
LANG=C date -u +"%a, %d %b %Y %T %Z"
)
hmac=$(printf "%s" "$cdate" | _hmac sha1 "$(printf "%s" "$ME_Secret" | _hex_dump | tr -d " ")" hex) hmac=$(printf "%s" "$cdate" | _hmac sha1 "$(printf "%s" "$ME_Secret" | _hex_dump | tr -d " ")" hex)
export _H1="x-dnsme-apiKey: $ME_Key" export _H1="x-dnsme-apiKey: $ME_Key"