In /usr/bin/dpatch line 19:
	. "${SYSCONFDIR}/dpatch.conf"
          ^-------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/dpatch line 23:
	. "${HOME}/.dpatch.conf"
          ^--------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/dpatch line 31:
dpatch_help_apply="dpatch apply -- apply the given patches
^---------------^ SC2034: dpatch_help_apply appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 55:
dpatch_help_deapply="dpatch deapply -- deapply the given patches
^-----------------^ SC2034: dpatch_help_deapply appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 83:
dpatch_help_custom="dpatch call -- call dpatches with a given argument
^----------------^ SC2034: dpatch_help_custom appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 103:
dpatch_help_status="dpatch status -- print the status of the given patches
^----------------^ SC2034: dpatch_help_status appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 122:
dpatch_help_log="dpatch log -- print the log of a given patching attempt
^-------------^ SC2034: dpatch_help_log appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 141:
dpatch_help_list="dpatch list -- list patches
^--------------^ SC2034: dpatch_help_list appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 152:
dpatch_help_cat="dpatch cat -- get patch meta-information
^-------------^ SC2034: dpatch_help_cat appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 174:
dpatch_help_patch_template="dpatch patch-template -- generate a template dpatch
^------------------------^ SC2034: dpatch_help_patch_template appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 188:
dpatch_help_help="dpatch help -- offer some help
^--------------^ SC2034: dpatch_help_help appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 195:
dpatch_help_version="dpatch version -- print dpatch version number.
^-----------------^ SC2034: dpatch_help_version appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 201:
dpatch_help_UNKNOWN="Unknown command: \`$2'
^-----------------^ SC2034: dpatch_help_UNKNOWN appears unused. Verify use (or export if used externally).


In /usr/bin/dpatch line 267:
	cmd=$(dpatch_command_map $1)
                                 ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	cmd=$(dpatch_command_map "$1")


In /usr/bin/dpatch line 269:
	if eval [ ! -z \"\$dpatch_help_${cmd}\" ]; then
                                       ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if eval [ ! -z \"\$dpatch_help_"${cmd}"\" ]; then


In /usr/bin/dpatch line 270:
		eval echo \"\$dpatch_help_${cmd}\"
                                          ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		eval echo \"\$dpatch_help_"${cmd}"\"


In /usr/bin/dpatch line 284:
	if [ ! -z "$1" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 285:
		dpatch_help_cmd $1
                                ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_help_cmd "$1"


In /usr/bin/dpatch line 364:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 373:
				p=$(echo ${1} | cut -d= -f2-)
                                         ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				p=$(echo "${1}" | cut -d= -f2-)


In /usr/bin/dpatch line 402:
	test -d ${stampdir} || install -d ${stampdir}
                ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                          ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -d "${stampdir}" || install -d "${stampdir}"


In /usr/bin/dpatch line 404:
		install -d ${stampdir}/${patchdir}
                           ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                       ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		install -d "${stampdir}"/"${patchdir}"


In /usr/bin/dpatch line 406:
	test -e ${pwd}/debian/patches/${patchname} || ext=.dpatch
                ^----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e "${pwd}"/debian/patches/"${patchname}" || ext=.dpatch


In /usr/bin/dpatch line 409:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 416:
	test -x ${patch} || chmod +x ${patch}
                ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -x "${patch}" || chmod +x "${patch}"


In /usr/bin/dpatch line 417:
	if test -f ${stamp} && [ ${DPATCH_OPTION_FORCE} -eq 0 ]; then
                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test -f "${stamp}" && [ ${DPATCH_OPTION_FORCE} -eq 0 ]; then


In /usr/bin/dpatch line 427:
			if [ ! -z "${o_v}" ]; then
                             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 434:
		if eval ${patch} -patch ${wd} ${redir} ${stamp}.new 2>&1; then
                        ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                       ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		if eval "${patch}" -patch ${wd} "${redir}" "${stamp}".new 2>&1; then


In /usr/bin/dpatch line 436:
				mv ${stamp}.new ${stamp}
                                   ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				mv "${stamp}".new "${stamp}"


In /usr/bin/dpatch line 437:
				touch ${stamp}
                                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				touch "${stamp}"


In /usr/bin/dpatch line 439:
				rm -f ${stamp}.new
                                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				rm -f "${stamp}".new


In /usr/bin/dpatch line 450:
				mv ${stamp}.new ${stamp}.failed
                                   ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				mv "${stamp}".new "${stamp}".failed


In /usr/bin/dpatch line 451:
				{ printf "md5sum: "; md5sum ${patch}; } >> ${stamp}.failed
                                                            ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                           ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				{ printf "md5sum: "; md5sum "${patch}"; } >> "${stamp}".failed


In /usr/bin/dpatch line 452:
				touch ${stamp}.failed
                                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				touch "${stamp}".failed


In /usr/bin/dpatch line 454:
				rm -f ${stamp}.new
                                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				rm -f "${stamp}".new


In /usr/bin/dpatch line 464:
				cd ${pwd}
                                   ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				cd "${pwd}"


In /usr/bin/dpatch line 471:
		cd ${pwd}
                   ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "${pwd}"


In /usr/bin/dpatch line 491:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 500:
				p=$(echo ${1} | cut -d= -f2-)
                                         ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				p=$(echo "${1}" | cut -d= -f2-)


In /usr/bin/dpatch line 526:
	test -e ${pwd}/debian/patches/${patchname} || ext=.dpatch
                ^----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e "${pwd}"/debian/patches/"${patchname}" || ext=.dpatch


In /usr/bin/dpatch line 529:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 536:
	test -x ${patch} || chmod +x ${patch}
                ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -x "${patch}" || chmod +x "${patch}"


In /usr/bin/dpatch line 537:
	if test -f ${stamp} || [ ${DPATCH_OPTION_FORCE} -ne 0 ]; then
                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test -f "${stamp}" || [ ${DPATCH_OPTION_FORCE} -ne 0 ]; then


In /usr/bin/dpatch line 540:
			if [ ! -z "${o_v}" ]; then
                             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 547:
		if eval ${patch} -unpatch ${wd} ${redir} /dev/null 2>&1; then
                        ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                                ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		if eval "${patch}" -unpatch ${wd} "${redir}" /dev/null 2>&1; then


In /usr/bin/dpatch line 548:
			rm -f ${stamp}
                              ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			rm -f "${stamp}"


In /usr/bin/dpatch line 565:
				cd ${pwd}
                                   ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				cd "${pwd}"


In /usr/bin/dpatch line 569:
	elif test -f ${stamp}.failed; then
                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	elif test -f "${stamp}".failed; then


In /usr/bin/dpatch line 572:
			if [ "$(tail -n1 ${stamp}.failed | grep ^md5sum: | cut -f2- -d" ")" \
                                         ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ "$(tail -n1 "${stamp}".failed | grep ^md5sum: | cut -f2- -d" ")" \


In /usr/bin/dpatch line 573:
			     = "$(md5sum ${patch})" ]; then
                                         ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			     = "$(md5sum "${patch}")" ]; then


In /usr/bin/dpatch line 582:
			if [ ! -z "${o_v}" ]; then
                             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 589:
		eval ${patch} -unpatch ${wd} ${redir} /dev/null 2>&1 || true
                     ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		eval "${patch}" -unpatch ${wd} "${redir}" /dev/null 2>&1 || true


In /usr/bin/dpatch line 590:
		rm -f ${stamp}.failed
                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "${stamp}".failed


In /usr/bin/dpatch line 608:
		cd ${pwd}
                   ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "${pwd}"


In /usr/bin/dpatch line 623:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 632:
				p=$(echo ${1} | cut -d= -f2-)
                                         ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				p=$(echo "${1}" | cut -d= -f2-)


In /usr/bin/dpatch line 654:
	test -e ${pwd}/debian/patches/${patchname} || ext=.dpatch
                ^----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e "${pwd}"/debian/patches/"${patchname}" || ext=.dpatch


In /usr/bin/dpatch line 657:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 664:
	if test -f ${stamp}; then
                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test -f "${stamp}"; then


In /usr/bin/dpatch line 689:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 698:
				p=$(echo ${1} | cut -d= -f2-)
                                         ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				p=$(echo "${1}" | cut -d= -f2-)


In /usr/bin/dpatch line 720:
	test -e ${pwd}/debian/patches/${patchname} || ext=.dpatch
                ^----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e "${pwd}"/debian/patches/"${patchname}" || ext=.dpatch


In /usr/bin/dpatch line 723:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 730:
	if test -f ${stamp}; then
                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test -f "${stamp}"; then


In /usr/bin/dpatch line 733:
			sed -e "s,^,| ,g" < ${stamp}
                                            ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			sed -e "s,^,| ,g" < "${stamp}"


In /usr/bin/dpatch line 736:
			cat ${stamp}
                            ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			cat "${stamp}"


In /usr/bin/dpatch line 755:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 762:
				o_a=$(echo $1 | cut -d= -f2-)
                                           ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				o_a=$(echo "$1" | cut -d= -f2-)


In /usr/bin/dpatch line 779:
	test -e ${pwd}/debian/patches/${patchname} || ext=.dpatch
                ^----^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e "${pwd}"/debian/patches/"${patchname}" || ext=.dpatch


In /usr/bin/dpatch line 782:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 789:
	test -x ${patch} || chmod +x ${patch}
                ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                     ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -x "${patch}" || chmod +x "${patch}"


In /usr/bin/dpatch line 794:
	if ${patch} -${o_a} ${wd}; then
                     ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if ${patch} -"${o_a}" ${wd}; then


In /usr/bin/dpatch line 800:
		cd ${pwd}
                   ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "${pwd}"


In /usr/bin/dpatch line 814:
	set -- ${args}
               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	set -- "${args}"


In /usr/bin/dpatch line 841:
	test -e debian/patches/${patch} || ext=.dpatch
                               ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	test -e debian/patches/"${patch}" || ext=.dpatch


In /usr/bin/dpatch line 844:
	if [ ! -f ${patch} ]; then
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ ! -f "${patch}" ]; then


In /usr/bin/dpatch line 851:
	author=$(sed -n "s,^#* *.*dpatch by *,,p" ${patch})
                                                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	author=$(sed -n "s,^#* *.*dpatch by *,,p" "${patch}")


In /usr/bin/dpatch line 856:
		if [ ! -z "${o_a}" ]; then
                     ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 857:
			echo ${author}
                             ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			echo "${author}"


In /usr/bin/dpatch line 863:
		sed -n "s/^#* *DP: */${sp}/p" ${patch}
                                              ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		sed -n "s/^#* *DP: */${sp}/p" "${patch}"


In /usr/bin/dpatch line 873:
	if [ ! -z "${args}" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 902:
			cmd=cat
                        ^-^ SC2209: Use var=$(command) to assign output (or quote to assign string).


In /usr/bin/dpatch line 940:
	DEB_BUILD_ARCH_CPP=$(echo ${DEB_BUILD_ARCH} | tr "-" "_")
                                  ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	DEB_BUILD_ARCH_CPP=$(echo "${DEB_BUILD_ARCH}" | tr "-" "_")


In /usr/bin/dpatch line 947:
				dpatch_help_do ${cmd}
                                               ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				dpatch_help_do "${cmd}"


In /usr/bin/dpatch line 964:
	if test $# -gt 0 || test $is_single -eq 1; then
                                 ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test $# -gt 0 || test "$is_single" -eq 1; then


In /usr/bin/dpatch line 965:
		patchlist="$patch $@"
                          ^---------^ SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.


In /usr/bin/dpatch line 972:
			if test -f debian/patches/00list.${DEB_BUILD_ARCH}; then
                                                         ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			if test -f debian/patches/00list."${DEB_BUILD_ARCH}"; then


In /usr/bin/dpatch line 973:
				patchlist_arch="$(grep -v ^\# debian/patches/00list.${DEB_BUILD_ARCH} || :)"
                                                                                    ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				patchlist_arch="$(grep -v ^\# debian/patches/00list."${DEB_BUILD_ARCH}" || :)"


In /usr/bin/dpatch line 977:
				patchlist_all="$(cpp -P -DDEB_BUILD_ARCH_${DEB_BUILD_ARCH_CPP}=1 \
                                                                         ^-------------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				patchlist_all="$(cpp -P -DDEB_BUILD_ARCH_"${DEB_BUILD_ARCH_CPP}"=1 \


In /usr/bin/dpatch line 978:
						        -DDEB_BUILD_ARCH=\"${DEB_BUILD_ARCH}\" \
                                                                           ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
						        -DDEB_BUILD_ARCH=\""${DEB_BUILD_ARCH}"\" \


In /usr/bin/dpatch line 981:
			if [ -f debian/patches/00list.${DEB_BUILD_ARCH} ]; then
                                                      ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ -f debian/patches/00list."${DEB_BUILD_ARCH}" ]; then


In /usr/bin/dpatch line 982:
				patchlist_arch="$(cpp -P -DDEB_BUILD_ARCH_${DEB_BUILD_ARCH_CPP}=1 \
                                                                          ^-------------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
				patchlist_arch="$(cpp -P -DDEB_BUILD_ARCH_"${DEB_BUILD_ARCH_CPP}"=1 \


In /usr/bin/dpatch line 983:
							 -DDEB_BUILD_ARCH=\"${DEB_BUILD_ARCH}\" \
                                                                            ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
							 -DDEB_BUILD_ARCH=\""${DEB_BUILD_ARCH}"\" \


In /usr/bin/dpatch line 984:
							 debian/patches/00list.${DEB_BUILD_ARCH} || :)"
                                                                               ^---------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
							 debian/patches/00list."${DEB_BUILD_ARCH}" || :)"


In /usr/bin/dpatch line 991:
		patchlist=$(echo ${patchlist} | tr ' ' '\n' | tac)
                                 ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		patchlist=$(echo "${patchlist}" | tr ' ' '\n' | tac)


In /usr/bin/dpatch line 996:
		dpatch_patch_${cmd} "${args}" "${cpatch}"
                             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patch_"${cmd}" "${args}" "${cpatch}"


In /usr/bin/dpatch line 1023:
	if [ $ch -eq 1 ]; then
             ^-^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$ch" -eq 1 ]; then


In /usr/bin/dpatch line 1026:
	if test ${argc} -gt ${maxargs} && test ${maxargs} -ne -1; then
                ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                            ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                               ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test "${argc}" -gt "${maxargs}" && test "${maxargs}" -ne -1; then


In /usr/bin/dpatch line 1030:
	if test ${argc} -lt ${minargs} && test ${minargs} -ne -1; then
                ^-----^ SC2086: Double quote to prevent globbing and word splitting.
                            ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                                               ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if test "${argc}" -lt "${minargs}" && test "${minargs}" -ne -1; then


In /usr/bin/dpatch line 1047:
				argc=$(expr ${argc} + 1)
                                       ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].


In /usr/bin/dpatch line 1053:
	echo ${argc}
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "${argc}"


In /usr/bin/dpatch line 1135:
## ${pname}.dpatch by ${DEBFULLNAME} <${DEBEMAIL:-${EMAIL:-$LOGNAME@`hostname -f`}}>
                                                                    ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
## ${pname}.dpatch by ${DEBFULLNAME} <${DEBEMAIL:-${EMAIL:-$LOGNAME@$(hostname -f)}}>


In /usr/bin/dpatch line 1146:
	if [ ! -z "${o_p}" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/dpatch line 1202:
    . "$DPATCH_WORKDIR/debian/patches/00options"
      ^-- SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/dpatch line 1223:
cmd_mapped=$(dpatch_command_map ${command})
                                ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
cmd_mapped=$(dpatch_command_map "${command}")


In /usr/bin/dpatch line 1232:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1243:
		dpatch_args_check ${cmd_help} ${argc} -1 2
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" -1 2


In /usr/bin/dpatch line 1250:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1251:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1255:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1256:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1260:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1261:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1267:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1268:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1272:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1273:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1277:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1278:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1284:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1285:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1289:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1290:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1294:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1295:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1301:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1302:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1306:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1307:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1311:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1312:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1318:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1319:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1323:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1324:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1328:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1329:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1335:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1336:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1340:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1341:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1345:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1346:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1352:
		dpatch_args_check ${cmd_help} ${argc} 1 -1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 -1


In /usr/bin/dpatch line 1353:
		dpatch_patchset_do ${cmd_mapped} 1 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 1 "$@"


In /usr/bin/dpatch line 1357:
		dpatch_args_check ${cmd_help} ${argc} 0 0
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 0 0


In /usr/bin/dpatch line 1358:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"


In /usr/bin/dpatch line 1362:
		dpatch_args_check ${cmd_help} ${argc} 1 1
                                  ^---------^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_args_check "${cmd_help}" "${argc}" 1 1


In /usr/bin/dpatch line 1363:
		dpatch_patchset_do ${cmd_mapped} 0 "$@"
                                   ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
		dpatch_patchset_do "${cmd_mapped}" 0 "$@"

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source....
  https://www.shellcheck.net/wiki/SC2034 -- dpatch_help_UNKNOWN appears unuse...
  https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...