In /usr/bin/dpatch-edit-patch line 19: [[ -f debian/patches/00dpatch.conf ]] && . debian/patches/00dpatch.conf ^--------------------------^ SC1091: Not following: debian/patches/00dpatch.conf was not specified as input (see shellcheck -x). In /usr/bin/dpatch-edit-patch line 31: [[ -f ~/.dpatch.conf ]] && . ~/.dpatch.conf ^------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/dpatch-edit-patch line 42: DPEP_SHELL="${DPEP_SHELL:-${conf_shell:-${SHELL:-$(getent passwd $(id -un) | cut -f7- -d:)}}}" ^-------^ SC2046: Quote this to prevent word splitting. In /usr/bin/dpatch-edit-patch line 49: VERBOSITY=0 ^-------^ SC2034: VERBOSITY appears unused. Verify use (or export if used externally). In /usr/bin/dpatch-edit-patch line 53: . /usr/share/dpatch/dpatch-edit-patch.functions ^-- SC1091: Not following: /usr/share/dpatch/dpatch-edit-patch.functions was not specified as input (see shellcheck -x). In /usr/bin/dpatch-edit-patch line 65: if [[ ! -z "$conf_rootcmd" ]]; then ^-- SC2236: Use -n instead of ! -z. ^-----------^ SC2154: conf_rootcmd is referenced but not assigned. In /usr/bin/dpatch-edit-patch line 95: [ -r "debian/patches/00options" ] && . debian/patches/00options ^----------------------^ SC1091: Not following: debian/patches/00options was not specified as input (see shellcheck -x). In /usr/bin/dpatch-edit-patch line 125: if [[ ! -z "$DPEP_BASEPATCH" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/dpatch-edit-patch line 145: if [[ ! -z "$DPEP_BASEPATCH" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/dpatch-edit-patch line 158: DPEP_TAR_EXCLUDE="$(echo $DPEP_EXCLUDE | sed 's/\([^[:space:]]\+\)/--exclude \1/g')" ^-- SC2001: See if you can use ${variable//search/replace} instead. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: DPEP_TAR_EXCLUDE="$(echo "$DPEP_EXCLUDE" | sed 's/\([^[:space:]]\+\)/--exclude \1/g')" In /usr/bin/dpatch-edit-patch line 159: DPEP_DIFF_EXCLUDE="$(echo $DPEP_EXCLUDE | sed 's/\([^[:space:]]\+\)/--exclude=\1/g')" ^-- SC2001: See if you can use ${variable//search/replace} instead. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: DPEP_DIFF_EXCLUDE="$(echo "$DPEP_EXCLUDE" | sed 's/\([^[:space:]]\+\)/--exclude=\1/g')" In /usr/bin/dpatch-edit-patch line 176: WORKDIR="$(mktemp -d ${DPEP_TMPDIR}/dpep-work.XXXXXX)" ^------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: WORKDIR="$(mktemp -d "${DPEP_TMPDIR}"/dpep-work.XXXXXX)" In /usr/bin/dpatch-edit-patch line 187: REFPDIR="$(mktemp -d ${DPEP_TMPDIR}/dpep-ref.XXXXXX)" ^------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: REFPDIR="$(mktemp -d "${DPEP_TMPDIR}"/dpep-ref.XXXXXX)" In /usr/bin/dpatch-edit-patch line 212: tar --extract --gzip --file $ORIGTARGZ ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tar --extract --gzip --file "$ORIGTARGZ" In /usr/bin/dpatch-edit-patch line 227: tar --create --file - --dereference $DPEP_TAR_EXCLUDE --directory "$DPEP_SOURCEDIR" . | \ ^---------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tar --create --file - --dereference "$DPEP_TAR_EXCLUDE" --directory "$DPEP_SOURCEDIR" . | \ In /usr/bin/dpatch-edit-patch line 229: REFDIR="$REFPDIR/$(basename $DPEP_SOURCEDIR)" ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: REFDIR="$REFPDIR/$(basename "$DPEP_SOURCEDIR")" In /usr/bin/dpatch-edit-patch line 258: if [[ ! -z "$DPEP_BASEPATCH" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/dpatch-edit-patch line 289: tar --create --file - --dereference $DPEP_TAR_EXCLUDE --directory "$REFDIR" . | \ ^---------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tar --create --file - --dereference "$DPEP_TAR_EXCLUDE" --directory "$REFDIR" . | \ In /usr/bin/dpatch-edit-patch line 304: $(basename $0): ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: $(basename "$0"): In /usr/bin/dpatch-edit-patch line 316: export DPEP_SHELL_WORKDIR="$WORKDIR/$(basename "$DPEP_SOURCEDIR")" ^----------------^ SC2155: Declare and assign separately to avoid masking return values. In /usr/bin/dpatch-edit-patch line 330: DIFFHOLDER="$(tempfile -d "$WORKDIR" -p "dpep." -s ".diff")" ^------^ SC2186: tempfile is deprecated. Use mktemp instead. In /usr/bin/dpatch-edit-patch line 333: LC_ALL=C diff -urNad $DPEP_DIFF_OPTIONS $DPEP_DIFF_EXCLUDE . "$WORKDIR/$(basename "$DPEP_SOURCEDIR")" | ^----------------^ SC2086: Double quote to prevent globbing and word splitting. ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: LC_ALL=C diff -urNad "$DPEP_DIFF_OPTIONS" "$DPEP_DIFF_EXCLUDE" . "$WORKDIR/$(basename "$DPEP_SOURCEDIR")" | In /usr/bin/dpatch-edit-patch line 367: NEWPATCH="$(tempfile -m 666 -d "$WORKDIR")" ^------^ SC2186: tempfile is deprecated. Use mktemp instead. For more information: https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2034 -- VERBOSITY appears unused. Verify ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...