In /usr/bin/cvs-debi line 26: PROGNAME=`basename $0 .sh` # .sh for debugging purposes ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: PROGNAME=$(basename "$0" .sh) # .sh for debugging purposes In /usr/bin/cvs-debi line 107: echo >&2 "$progname: Unable to determine $3" ^-------^ SC2154: progname is referenced but not assigned (did you mean 'PROGNAME'?). In /usr/bin/cvs-debi line 110: if [ ! "x$Verbose" = "x" ]; then ^------^ SC2154: Verbose is referenced but not assigned. In /usr/bin/cvs-debi line 143: eval set -- $TEMP ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set -- "$TEMP" In /usr/bin/cvs-debi line 177: if [ "x$opt_cvsmodule" = "x" -a "x$opt_package" = "x" -a \ ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/cvs-debi line 196: elif [ ! "x$conf_prefix" = "x" ]; then ^----------^ SC2154: conf_prefix is referenced but not assigned. In /usr/bin/cvs-debi line 205: prefix=`echo $prefix | sed 's://:/:g'`; ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------------------------^ SC2001: See if you can use ${variable//search/replace} instead. Did you mean: prefix=$(echo $prefix | sed 's://:/:g'); In /usr/bin/cvs-debi line 223: "`dpkg-parsechangelog -SSource`" \ ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SSource)" \ In /usr/bin/cvs-debi line 226: "`dpkg-parsechangelog -SVersion`" \ ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SVersion)" \ In /usr/bin/cvs-debi line 230: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debi line 231: cvs -q co -p $TAGOPT $opt_cvsmodule/debian/changelog > $TEMPFILE ^-----^ 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: cvs -q co -p "$TAGOPT" "$opt_cvsmodule"/debian/changelog > "$TEMPFILE" In /usr/bin/cvs-debi line 233: "`dpkg-parsechangelog -l$TEMPFILE -SSource`" \ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$(dpkg-parsechangelog -l"$TEMPFILE" -SSource)" \ In /usr/bin/cvs-debi line 236: "`dpkg-parsechangelog -l$TEMPFILE -SVersion`" \ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$(dpkg-parsechangelog -l"$TEMPFILE" -SVersion)" \ In /usr/bin/cvs-debi line 259: "`dpkg-parsechangelog -SVersion`" \ ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SVersion)" \ In /usr/bin/cvs-debi line 263: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debi line 264: cvs -q co -p $TAGOPT $opt_cvsmodule/debian/changelog > $TEMPFILE ^-----^ 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: cvs -q co -p "$TAGOPT" "$opt_cvsmodule"/debian/changelog > "$TEMPFILE" In /usr/bin/cvs-debi line 266: "`dpkg-parsechangelog -l$TEMPFILE -SVersion`" \ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$(dpkg-parsechangelog -l"$TEMPFILE" -SVersion)" \ In /usr/bin/cvs-debi line 271: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debi line 272: cvsmodule="${prefix}$package" ^------^ SC2154: package is referenced but not assigned. In /usr/bin/cvs-debi line 273: cvs -q co -p $TAGOPT $cvsmodule/debian/changelog > $TEMPFILE ^-----^ 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: cvs -q co -p "$TAGOPT" "$cvsmodule"/debian/changelog > "$TEMPFILE" In /usr/bin/cvs-debi line 275: "`dpkg-parsechangelog -l$TEMPFILE -SVersion`" \ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$(dpkg-parsechangelog -l"$TEMPFILE" -SVersion)" \ In /usr/bin/cvs-debi line 281: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debi line 282: rmdir $TEMPDIR ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rmdir "$TEMPDIR" In /usr/bin/cvs-debi line 283: trap "" 0 1 2 3 7 10 13 15 ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. In /usr/bin/cvs-debi line 286: non_epoch_version=$(echo -n "$version" | perl -pe 's/^\d+://') ^------^ SC2154: version is referenced but not assigned. In /usr/bin/cvs-debi line 287: upstream_version=$(echo -n "$non_epoch_version" | sed -e 's/-[^-]*$//') ^--------------^ SC2034: upstream_version appears unused. Verify use (or export if used externally). In /usr/bin/cvs-debi line 288: debian_version=$(echo -n $non_epoch_version | perl -nle 'm/-([^-]*)$/ && print $1') ^------------^ SC2034: debian_version appears unused. Verify use (or export if used externally). ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: debian_version=$(echo -n "$non_epoch_version" | perl -nle 'm/-([^-]*)$/ && print $1') In /usr/bin/cvs-debi line 305: . /etc/cvsdeb.conf ^--------------^ SC1091: Not following: /etc/cvsdeb.conf was not specified as input (see shellcheck -x). In /usr/bin/cvs-debi line 310: . ~/.cvsdeb.conf ^------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/cvs-debi line 318: elif [ ! "x$conf_rootdir" = "x" ]; then ^-----------^ SC2154: conf_rootdir is referenced but not assigned. In /usr/bin/cvs-debi line 327: elif [ ! "x$conf_workdir" = "x" ]; then ^-----------^ SC2154: conf_workdir is referenced but not assigned. In /usr/bin/cvs-debi line 353: pva="${package}_${non_epoch_version}_${arch}" ^-----^ SC2154: arch is referenced but not assigned. In /usr/bin/cvs-debi line 356: cd $workdir || { ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$workdir" || { In /usr/bin/cvs-debi line 370: exec $SUBPROG --check-dirname-level 0 $changes "$@" ^------^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: exec "$SUBPROG" --check-dirname-level 0 "$changes" "$@" For more information: https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2034 -- debian_version appears unused. Ve... https://www.shellcheck.net/wiki/SC2154 -- Verbose is referenced but not ass...