]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tools: checkconfig.sh: make scripts bourne sh compliant [checkbashisms]
authorSami Kerola <kerolasa@iki.fi>
Sun, 18 Mar 2012 20:34:09 +0000 (21:34 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 30 Mar 2012 14:48:12 +0000 (16:48 +0200)
commit8b32e57f290c63685e1325e70006e7a8ba62add2
tree967619983cd579b53266db70e060f132a28eeae0
parentb0660441de984582c4c2fc97fa22c0cea2c17d84
tools: checkconfig.sh: make scripts bourne sh compliant [checkbashisms]

script checkconfig.sh does not appear to be a /bin/sh script
possible bashism in checkconfig.sh line 14 ('function' is useless):
function die() {
possible bashism in checkconfig.sh line 27 ('((' should be '$(('):
while (( "$#" )); do

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tools/checkconfig.sh