Commit Graph

16 Commits (1489ddc49a9f494f76f1c31ddc10f4e782e98add)

Author SHA1 Message Date
neilpang e6e85b0c55 secure debug message 2017-02-19 13:24:00 +08:00
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>
2017-01-13 14:54:09 +01:00
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.
2017-01-09 12:21:32 +01:00
neilpang a8c6111197 fix shellcheck warnings 2016-11-12 11:45:30 +08:00
neilpang 3de8570022 fix shellcheck warnings. 2016-11-12 11:40:30 +08:00
neilpang a0311b0134 fix for shellcheck warnings 2016-11-12 11:35:19 +08:00
neilpang 422e5026d6 fix shellcheck warnings 2016-11-12 11:13:40 +08:00
neilpang e9f9f515bd fix shellcheck warnings. 2016-11-12 00:06:34 +08:00
neilpang c7b8f223ee fix for solaris tr 2016-11-11 23:48:27 +08:00
neilpang a0636d5a87 fix shellcheck warnings. 2016-11-11 23:34:21 +08:00
neilpang c7b16249b8 fix shellcheck warnings 2016-11-11 23:30:14 +08:00
neilpang 4c2a384159 Add shfmt to format source code 2016-11-09 19:30:39 +08:00
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
2016-10-25 23:08:02 +08:00
neil bf233fbd48 minor 2016-06-07 13:05:27 +08:00
root 9bf69d30e0 exec mode 2016-05-08 09:19:17 +08:00
neil 218dc3390f support lexicon dns api 2016-05-08 18:20:56 +08:00