Debian Automated Code Analysis

checkbashisms analysis of hurd_20100926-1.dsc

possible bashism in ./configure line 370 (should be >word 2>&1):
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
possible bashism in ./sutils/e2os.sh line 96 ('function' is useless):
function sbget
possible bashism in ./sutils/e2os.sh line 106 ('function' is useless):
function sbset
possible bashism in ./sutils/losetup.sh line 59 ('$[' should be '$(('):
  if [ $[ $offset % $blksz ] -ne 0 ]; then
possible bashism in ./sutils/losetup.sh line 63 ('$[' should be '$(('):
  type="-Tremap $[ $offset / $blksz ]+:file:"
possible bashism in ./release/mkfsimage.sh line 33 (declare):
declare -a SRCS SCRIPTS
possible bashism in ./release/mkfsimage.sh line 52 (let ...):
    --copy=*|--copy-rules=*)      SCRIPTS[NUM_SCRIPTS]="`echo "$1" | sed 's/^--[-a-z]*=//'`"; let NUM_SCRIPTS+=1; shift 1;;
possible bashism in ./release/mkfsimage.sh line 53 (let ...):
    --copy|--copy-rules)        SCRIPTS[NUM_SCRIPTS]="$2"; let NUM_SCRIPTS+=1; shift 2;;
possible bashism in ./release/mkfsimage.sh line 112 (let ...):
        set) SRCS[NUM_SRCS]="$1"; let 'NUM_SRCS += 1';;
possible bashism in ./release/mkfsimage.sh line 164 (bash arrays, ${name[0|*|@]}):
  echo "$GEN_DEPS: ${SCRIPTS[*]}" >> "$GEN_DEPS_TMP"
possible bashism in ./release/mkfsimage.sh line 170 (bash arrays, ${name[0|*|@]}):
if [ ${#SRCS[@]} = 1 -a ${#SCRIPTS[@]} = 0 ]; then
possible bashism in ./release/mkfsimage.sh line 181 (bash arrays, ${name[0|*|@]}):
  while [ $SRC_NUM -lt ${#SRCS[@]} ]; do
possible bashism in ./release/mkfsimage.sh line 184 (let ...):
    let SRC_NUM+=1
possible bashism in ./release/mkfsimage.sh line 212 (read with option other than -r):
	while read -a args; do
possible bashism in ./release/mkfsimage.sh line 214 (bash arrays, ${name[0|*|@]}):
	    gzip) gzip=yes; unset args[0]; args=(${args[@]});;
possible bashism in ./release/mkfsimage.sh line 218 (bash arrays, ${name[0|*|@]}):
	    rename) dst="${args[1]}"; unset args[0] args[1]; args=(${args[@]});;
possible bashism in ./release/mkfsimage.sh line 222 (bash arrays, ${name[0|*|@]}):
	  op="${args[0]}"
possible bashism in ./release/mkfsimage.sh line 223 (bash arrays, ${name[0|*|@]}):
	  src="${args[1]}"
possible bashism in ./release/mkfsimage.sh line 244 (bash arrays, ${name[0|*|@]}):
	  set -- "${args[@]}"; shift 2; unset args; args=("$@")
possible bashism in ./release/mkfsimage.sh line 298 (bash arrays, ${name[0|*|@]}):
	      echo "$op $dst $src ${args[*]}" >> $TRANS_LIST
possible bashism in ./release/mkfsimage.sh line 367 (read with option other than -r):
    while read -a args; do
possible bashism in ./release/mkfsimage.sh line 368 (bash arrays, ${name[0|*|@]}):
      op="${args[0]}"
possible bashism in ./release/mkfsimage.sh line 369 (bash arrays, ${name[0|*|@]}):
      dst="${args[1]}"
possible bashism in ./release/mkfsimage.sh line 370 (bash arrays, ${name[0|*|@]}):
      src="${args[2]}"
possible bashism in ./release/mkfsimage.sh line 371 (bash arrays, ${name[0|*|@]}):
      set -- "${args[@]}"; shift 3; unset args; args=("$@")
possible bashism in ./release/mkfsimage.sh line 380 (bash arrays, ${name[0|*|@]}):
	  eval $ECHO "'settrans $MNT/$dst ${args[*]}'"
possible bashism in ./release/mkfsimage.sh line 381 (bash arrays, ${name[0|*|@]}):
	  settrans "$MNT/$dst" "${args[@]}"

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