Debian Automated Code Analysis

checkbashisms analysis of fim_0.3-beta-prerelease-1.2.dsc

possible bashism in ./configure line 374 (should be >word 2>&1):
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
possible bashism in ./configure line 8333 (should be 'b = a'):
  if test x"$have_gif" == xyes ; then
possible bashism in ./configure line 8446 (should be 'b = a'):
  if test x"$have_tiff" == xyes ; then
possible bashism in ./configure line 8738 (should be 'b = a'):
  if test x"$have_jpeg" == xyes ; then
possible bashism in ./configure line 8853 (should be 'b = a'):
  if test x"$have_ps" == xyes ; then
possible bashism in ./configure line 8969 (should be 'b = a'):
  if test x"$have_djvu" == xyes ; then
possible bashism in ./configure line 9097 (should be 'b = a'):
  if test x"$have_poppler" == xyes ; then
possible bashism in ./configure line 9834 (should be 'b = a'):
if test x$fim_cv_read_dirs == xyes; then
possible bashism in ./configure line 9837 (should be 'b = a'):
  if test x$fim_cv_recursive_dirs == xyes; then
possible bashism in ./scripts/utilities/fimscan.sh line 5 ('function' is useless):
function die()  { echo " [!] : " $@ ; exit 1 ; }
possible bashism in ./scripts/utilities/fimscan.sh line 6 ('function' is useless):
function info() { echo " [*] : " $@ ; }
possible bashism in ./scripts/utilities/fimscan.sh line 7 ('function' is useless):
function askn() { local c ; c='' ; info $@ ; read c ; if test "$c" != "y" -a  "$c" != "Y"  ; then return -1 ; fi ; return  0 ; }
possible bashism in ./scripts/utilities/fimscan.sh line 8 ('function' is useless):
function asky() { local c ; c='' ; info $@ ; read c ; if test "$c" != "n" -a  "$c" != "N"  ; then return 0  ; fi ; return -1 ; }
possible bashism in ./scripts/utilities/fimscan.sh line 9 ('function' is useless):
function askexit() { asky "are you sure you want to exit [Y/n]?" || return 0 ; info "ok. exiting now..." ; exit ; }
possible bashism in ./scripts/utilities/fimscan.sh line 11 (alternative test command ([[ foo ]] should be [ foo ])):
[[ $1 != "" ]] && { info "this is a sample script using fim and scanimage...  invoke it without arguments please." ; exit ; }
possible bashism in ./scripts/utilities/fimscan.sh line 13 (shopt):
shopt -s expand_aliases || die "no aliases ? you should update your bash shell.."
possible bashism in ./scripts/utilities/fimscan.sh line 43 (should be VAR="${VAR}foo"):
for ((i=1;i<100;i+=0))
possible bashism in ./scripts/utilities/fimscan.sh line 43 ('((' should be '$(('):
for ((i=1;i<100;i+=0))
possible bashism in ./scripts/utilities/fimscan.sh line 47 ('((' should be '$(('):
	if test "$?" = "0" ; then ((++i))  ; fi

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