Commit Graph

16 Commits (a4fc802d1b84c49c3357aa2765dead14ec4320e7)

Author SHA1 Message Date
neilpang e6e85b0c55 secure debug message
Bastian Bittorf 3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
Bastian Bittorf 800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
neilpang a8c6111197 fix shellcheck warnings
neilpang 3de8570022 fix shellcheck warnings.
neilpang a0311b0134 fix for shellcheck warnings
neilpang 422e5026d6 fix shellcheck warnings
neilpang e9f9f515bd fix shellcheck warnings.
neilpang c7b8f223ee fix for solaris tr
neilpang a0636d5a87 fix shellcheck warnings.
neilpang c7b16249b8 fix shellcheck warnings
neilpang 4c2a384159 Add shfmt to format source code
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
neil bf233fbd48 minor
root 9bf69d30e0 exec mode
neil 218dc3390f support lexicon dns api