In /usr/bin/dpatch2quilt line 20: quilt import -P $p.patch debian/patches/$p.dpatch ^-- SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: quilt import -P "$p".patch debian/patches/"$p".dpatch In /usr/bin/dpatch2quilt line 21: AUTHOR=$(dpatch cat --author-only $p.dpatch) ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: AUTHOR=$(dpatch cat --author-only "$p".dpatch) In /usr/bin/dpatch2quilt line 22: DESC=$(dpatch cat --desc-only $p.dpatch) ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: DESC=$(dpatch cat --desc-only "$p".dpatch) In /usr/bin/dpatch2quilt line 23: echo "Author: $AUTHOR" | quilt header -r $p.patch ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Author: $AUTHOR" | quilt header -r "$p".patch In /usr/bin/dpatch2quilt line 24: echo "Description: $DESC" | quilt header -a $p.patch ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Description: $DESC" | quilt header -a "$p".patch In /usr/bin/dpatch2quilt line 33: COUNT_D=$(ls -1 debian/patches/*.dpatch | wc -l) ^---------------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/dpatch2quilt line 34: COUNT_Q=$(ls -1 debian/patches/*.patch | wc -l) ^--------------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. In /usr/bin/dpatch2quilt line 41: sed -i -e 's;patch-stamp;$(QUILT_STAMPFN);' debian/rules ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that. For more information: https://www.shellcheck.net/wiki/SC2012 -- Use find instead of ls to better ... https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...