mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
support/download/cvs: fix shellcheck
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
86f6c7929e
commit
84309d7071
@@ -1650,7 +1650,6 @@ support/dependencies/check-host-xzcat.sh Shellcheck
|
||||
support/dependencies/dependencies.sh Shellcheck
|
||||
support/download/bzr Shellcheck lib_shellscript.ConsecutiveEmptyLines
|
||||
support/download/cargo-post-process Shellcheck
|
||||
support/download/cvs Shellcheck
|
||||
support/download/dl-wrapper Shellcheck
|
||||
support/download/file Shellcheck
|
||||
support/download/go-post-process Shellcheck
|
||||
|
||||
@@ -40,12 +40,13 @@ shift $((OPTIND-1)) # Get rid of our options
|
||||
# 10 minutes should do the trick.
|
||||
_cvs() {
|
||||
if [ -z "${quiet}" ]; then
|
||||
printf '%s ' timeout 10m ${CVS} "${@}"; printf '\n'
|
||||
printf '%s ' timeout 10m "${CVS}" "${@}"; printf '\n'
|
||||
fi
|
||||
_plain_cvs "$@"
|
||||
}
|
||||
# Note: please keep command below aligned with what is printed above
|
||||
_plain_cvs() {
|
||||
# shellcheck disable=SC2086 # We really want word splitting in CVS
|
||||
eval timeout 10m ${CVS} "${@}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user