Debian Automated Code Analysis

checkbashisms analysis of ledcontrol_0.5.2-11.1.dsc

possible bashism in ./configure line 4006 ('function' is useless):
function absdir {
possible bashism in ./configure line 4084 (should be 'b = a'):
  enableval=$enable_optimization; if test "$enable_optimization" == "no"; then
possible bashism in ./scripts/startup.sh line 17 (should be '.', not 'source'):
source /etc/ledcontrol.conf
possible bashism in ./scripts/startup.sh line 30 (should be '.', not 'source'):
	source ${SCRIPT}
possible bashism in ./scripts/startup.sh line 47 ('$[' should be '$(('):
while eval 'test -n "$COMMAND_'$[${MAX_TESTS}+1]'"'; do
possible bashism in ./scripts/startup.sh line 48 ('$[' should be '$(('):
    MAX_TESTS=$[${MAX_TESTS}+1]
possible bashism in ./ledd-sysv-generic.in line 21 ($"foo" should be eval_gettext "foo"):
    PIDFILE="`grep -i "^ *pidfile  *[^ ][^ ]* *$" "@sysconfdir_int@/ledd.conf" | cut -d " " -f 2`"
possible bashism in ./test-startup.sh line 13 (echo -e):
    echo -ne "$*" >&5
possible bashism in ./test-startup.sh line 36 ('$[' should be '$(('):
	COUNT=$[ $COUNT - 1 ]
possible bashism in ./test-startup.sh line 75 ('$[' should be '$(('):
    COUNT=$[ $COUNT + 2 ]
possible bashism in ./test-startup.sh line 92 ('$[' should be '$(('):
    COUNT=$[ $COUNT + 2 ]

This report was generated on Thu, 16 Dec 2010 19:38:23 +0000, based on results by checkbashisms 2.10.65git5