In /usr/bin/cowpoke line 26: for f in /etc/cowpoke.conf ~/.cowpoke .cowpoke "$COWPOKE_CONF"; do [ -r "$f" ] && . "$f"; done ^--^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/cowpoke line 32: _RESULT_DIR="result" ^---------^ SC2034: _RESULT_DIR appears unused. Verify use (or export if used externally). In /usr/bin/cowpoke line 33: _BASE_PATH="base.cow" ^--------^ SC2034: _BASE_PATH appears unused. Verify use (or export if used externally). In /usr/bin/cowpoke line 50: [ ${#override[@]} -gt 0 ] || [ ${#val[@]} -eq 0 ] || ^-------------^ SC2154: override is referenced but not assigned. In /usr/bin/cowpoke line 104: PROGNAME="$(basename $0)" ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: PROGNAME="$(basename "$0")" In /usr/bin/cowpoke line 145: SIGN_KEYID = $SIGN_KEYID ^---------^ SC2153: Possible misspelling: SIGN_KEYID may not be assigned, but sign_keyid is. In /usr/bin/cowpoke line 146: UPLOAD_QUEUE = $UPLOAD_QUEUE ^-----------^ SC2153: Possible misspelling: UPLOAD_QUEUE may not be assigned, but upload_queue is. In /usr/bin/cowpoke line 165: exit $1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: exit "$1" In /usr/bin/cowpoke line 297: read -e yesno ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/cowpoke line 311: PACKAGE="$(basename $DSC .dsc)" ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: PACKAGE="$(basename "$DSC" .dsc)" In /usr/bin/cowpoke line 415: "$INCOMING_DIR/$(basename $DSC)" 2>&1 \\ ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$INCOMING_DIR/$(basename "$DSC")" 2>&1 \\ In /usr/bin/cowpoke line 442: if ! dcmd rsync -vP $DSC "$REMOTE_SCRIPT" "$BUILDD_USER$BUILDD_HOST:$INCOMING_DIR"; ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if ! dcmd rsync -vP "$DSC" "$REMOTE_SCRIPT" "$BUILDD_USER$BUILDD_HOST:$INCOMING_DIR"; In /usr/bin/cowpoke line 444: dcmd scp $DSC "$REMOTE_SCRIPT" "$BUILDD_USER$BUILDD_HOST:$INCOMING_DIR" ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: dcmd scp "$DSC" "$REMOTE_SCRIPT" "$BUILDD_USER$BUILDD_HOST:$INCOMING_DIR" In /usr/bin/cowpoke line 469: read -e yesno ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/cowpoke line 481: read -e upload ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/cowpoke line 485: "cd \"$RESULT_DIR/\" && dput \"$upload_queue\" \"${PACKAGE}_$CHANGES\"" ^---------^ SC2029: Note that, unescaped, this expands on the client side. In /usr/bin/cowpoke line 528: for f in $(cd $cache_dir && dcmd ${PACKAGE}_$CHANGES); do ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: for f in $(cd $cache_dir && dcmd "${PACKAGE}"_"$CHANGES"); do In /usr/bin/cowpoke line 532: rm -f $cache_dir/${PACKAGE}_$CHANGES ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f $cache_dir/"${PACKAGE}"_"$CHANGES" For more information: https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2034 -- _BASE_PATH appears unused. Verify... https://www.shellcheck.net/wiki/SC2153 -- Possible misspelling: SIGN_KEYID ...