Commit Graph

15 Commits (9bdb799b412bf86cddbe62d630e94a023fcc532d)

Author SHA1 Message Date
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>
8 years ago
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.
8 years ago
neilpang a8c6111197 fix shellcheck warnings 8 years ago
neilpang 3de8570022 fix shellcheck warnings. 8 years ago
neilpang a0311b0134 fix for shellcheck warnings 8 years ago
neilpang 422e5026d6 fix shellcheck warnings 8 years ago
neilpang e9f9f515bd fix shellcheck warnings. 8 years ago
neilpang c7b8f223ee fix for solaris tr 8 years ago
neilpang a0636d5a87 fix shellcheck warnings. 8 years ago
neilpang c7b16249b8 fix shellcheck warnings 8 years ago
neilpang 4c2a384159 Add shfmt to format source code 8 years ago
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
8 years ago
neil bf233fbd48 minor 9 years ago
root 9bf69d30e0 exec mode 9 years ago
neil 218dc3390f support lexicon dns api 9 years ago