In /usr/bin/autodep8 line 6:
  echo "usage: $(basename $0) [SOURCEDIR]"
                          ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  echo "usage: $(basename "$0") [SOURCEDIR]"


In /usr/bin/autodep8 line 15:
  local pkgtype="$1"
  ^-----------^ SC2039: In POSIX sh, 'local' is undefined.
        ^-----^ SC2034: pkgtype appears unused. Verify use (or export if used externally).


In /usr/bin/autodep8 line 23:
  local pkgdir="$1"
  ^----------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/autodep8 line 24:
  $pkgdir/detect
  ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  "$pkgdir"/detect


In /usr/bin/autodep8 line 53:
program_path="$(dirname $(readlink -f $0))"
                        ^---------------^ SC2046: Quote this to prevent word splitting.
                                      ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
program_path="$(dirname $(readlink -f "$0"))"


In /usr/bin/autodep8 line 57:
    prefix="$(dirname $program_path)"
                      ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    prefix="$(dirname "$program_path")"


In /usr/bin/autodep8 line 66:
. "${support_dir}"/autodep8lib.sh
  ^-----------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/autodep8 line 68:
for packagedir in $(find $support_dir -mindepth 1 -type d | LC_ALL=C.UTF-8 sort); do
                         ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
for packagedir in $(find "$support_dir" -mindepth 1 -type d | LC_ALL=C.UTF-8 sort); do


In /usr/bin/autodep8 line 69:
  packagetype=$(basename $packagedir)
                         ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  packagetype=$(basename "$packagedir")


In /usr/bin/autodep8 line 70:
  if detect_by_control_field $packagetype ||
                             ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  if detect_by_control_field "$packagetype" ||


In /usr/bin/autodep8 line 73:
    read_config $packagetype
                ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    read_config "$packagetype"


In /usr/bin/autodep8 line 74:
    $support_dir/$packagetype/generate
    ^----------^ SC2086: Double quote to prevent globbing and word splitting.
                 ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    "$support_dir"/"$packagetype"/generate

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source....
  https://www.shellcheck.net/wiki/SC2034 -- pkgtype appears unused. Verify us...
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.