Debian Automated Code Analysis

checkbashisms analysis of gnulib_20110412+stable-1.dsc

possible bashism in ./MODULES.html.sh line 1394 ($RANDOM):
    tmp=$TMPDIR/MD$$-$RANDOM
possible bashism in ./MODULES.html.sh line 1405 (should be VAR="${VAR}foo"):
if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
possible bashism in ./gnulib-tool line 102 (shopt):
    shopt -s expand_aliases >/dev/null 2>&1
possible bashism in ./gnulib-tool line 464 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./gnulib-tool line 475 (should be VAR="${VAR}foo"):
if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
possible bashism in ./gnulib-tool line 773 (shopt):
if test -z "$have_echo" \
   && test -n "$BASH_VERSION" \
   && (shopt -o xpg_echo; echo '\t' | grep t > /dev/null) 2>/dev/null; then
possible bashism in ./gnulib-tool line 774 (shopt):
  shopt -o xpg_echo
possible bashism in ./gnulib-tool line 1395 (declare):
if (declare -A x && { x[f/2]='foo'; x[f/3]='bar'; eval test '${x[f/2]}' = foo; }) 2>/dev/null; then
possible bashism in ./gnulib-tool line 1589 (declare):
    declare -A modcache_cached
possible bashism in ./gnulib-tool line 3116 (should be >word 2>&1):
          } >&$ofd
possible bashism in ./gnulib-tool line 3579 (declare):
          declare -A to_remove
possible bashism in ./gnulib-tool line 5595 (alternative test command ([[ foo ]] should be [ foo ])):
        s,^.*AC_CONFIG_AUX_DIR([[ ]*\([^]"$`\\)]*\).*$,guessed_auxdir="\1",p
possible bashism in ./posix-modules line 193 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./build-aux/csharpcomp.sh.in line 58 ($RANDOM):
    tmp=$TMPDIR/gt$$-$RANDOM
possible bashism in ./tests/test-copy-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-copy-file.sh line 28 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-set-mode-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-parse-duration.sh line 33 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-file-has-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM

This report was generated on Fri, 15 Apr 2011 06:38:17 +0000, based on results by checkbashisms 2.10.65git5