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
19277aec
"app/vscode:/vscode.git/clone" did not exist on "d445ae97fb502cd48c9fbe5057c8bbdcf9102e5c"
Commit
19277aec
authored
Mar 01, 2018
by
raidenii
Browse files
Use printf instead of echo, hopefully fix SC2039.
parent
50a91453
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_namecom.sh
View file @
19277aec
...
...
@@ -30,7 +30,7 @@ _saveaccountconf Namecom_Token "$Namecom_Token"
# Auth string
# Name.com API v4 uses http basic auth to authenticate
# need to convert the token for http auth
_namecom_auth
=
`
echo
-n
"
$Namecom_Username
:
$Namecom_Token
"
|
base64
`
_namecom_auth
=
`
printf
"
$Namecom_Username
:
$Namecom_Token
"
|
base64
`
#Usage: dns_namecom_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_namecom_add
()
{
...
...
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