In /usr/bin/cvs-debrelease 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-debrelease line 81: echo >&2 "$progname: Unable to determine $3" ^-------^ SC2154: progname is referenced but not assigned (did you mean 'PROGNAME'?). In /usr/bin/cvs-debrelease line 84: if [ ! "x$Verbose" = "x" ]; then ^------^ SC2154: Verbose is referenced but not assigned. In /usr/bin/cvs-debrelease line 114: if [ "$1" = --no-conf -o "$1" = --noconf ]; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/cvs-debrelease line 139: eval set -- $TEMP ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set -- "$TEMP" In /usr/bin/cvs-debrelease line 184: 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-debrelease line 203: elif [ ! "x$conf_prefix" = "x" ]; then ^----------^ SC2154: conf_prefix is referenced but not assigned. In /usr/bin/cvs-debrelease line 212: 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-debrelease line 230: "`dpkg-parsechangelog -SSource`" \ ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SSource)" \ In /usr/bin/cvs-debrelease line 233: "`dpkg-parsechangelog -SVersion`" \ ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SVersion)" \ In /usr/bin/cvs-debrelease line 237: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debrelease line 238: 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-debrelease line 240: "`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-debrelease line 243: "`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-debrelease line 266: "`dpkg-parsechangelog -SVersion`" \ ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(dpkg-parsechangelog -SVersion)" \ In /usr/bin/cvs-debrelease line 270: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debrelease line 271: 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-debrelease line 273: "`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-debrelease line 278: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debrelease line 279: cvsmodule="${prefix}$package" ^------^ SC2154: package is referenced but not assigned. In /usr/bin/cvs-debrelease line 280: 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-debrelease line 282: "`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-debrelease line 288: rm -f $TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TEMPFILE" In /usr/bin/cvs-debrelease line 289: rmdir $TEMPDIR ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rmdir "$TEMPDIR" In /usr/bin/cvs-debrelease line 290: 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-debrelease line 293: non_epoch_version=$(echo -n "$version" | perl -pe 's/^\d+://') ^------^ SC2154: version is referenced but not assigned. In /usr/bin/cvs-debrelease line 295: 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-debrelease line 312: . /etc/cvsdeb.conf ^--------------^ SC1091: Not following: /etc/cvsdeb.conf was not specified as input (see shellcheck -x). In /usr/bin/cvs-debrelease line 317: . ~/.cvsdeb.conf ^------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/cvs-debrelease line 325: elif [ ! "x$conf_rootdir" = "x" ]; then ^-----------^ SC2154: conf_rootdir is referenced but not assigned. In /usr/bin/cvs-debrelease line 334: elif [ ! "x$conf_workdir" = "x" ]; then ^-----------^ SC2154: conf_workdir is referenced but not assigned. In /usr/bin/cvs-debrelease line 366: pva="${package}_${non_epoch_version}_${arch}" ^-----^ SC2154: arch is referenced but not assigned. In /usr/bin/cvs-debrelease line 376: cd $pkgdir || { ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$pkgdir" || { In /usr/bin/cvs-debrelease line 385: exec $SUBPROG "${debreleaseopts[@]}" "$@" ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: exec "$SUBPROG" "${debreleaseopts[@]}" "$@" 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...