mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -14,10 +14,10 @@ set -e
|
||||
# Environment:
|
||||
# SCP : the scp command to call
|
||||
|
||||
verbose=
|
||||
quiet=
|
||||
while getopts "${BR_BACKEND_DL_GETOPTS}" OPT; do
|
||||
case "${OPT}" in
|
||||
q) verbose=-q;;
|
||||
q) quiet=-q;;
|
||||
o) output="${OPTARG}";;
|
||||
f) filename="${OPTARG}";;
|
||||
u) uri="${OPTARG}";;
|
||||
@@ -31,10 +31,17 @@ shift $((OPTIND-1)) # Get rid of our options
|
||||
# Caller needs to single-quote its arguments to prevent them from
|
||||
# being expanded a second time (in case there are spaces in them)
|
||||
_scp() {
|
||||
if [ -z "${quiet}" ]; then
|
||||
printf '%s ' ${SCP} "${@}"; printf '\n'
|
||||
fi
|
||||
_plain_scp "$@"
|
||||
}
|
||||
# Note: please keep command below aligned with what is printed above
|
||||
_plain_scp() {
|
||||
eval ${SCP} "${@}"
|
||||
}
|
||||
|
||||
# Remove any scheme prefix
|
||||
uri="${uri##scp://}"
|
||||
|
||||
_scp ${verbose} "${@}" "'${uri}/${filename}'" "'${output}'"
|
||||
_scp ${quiet} "${@}" "'${uri}/${filename}'" "'${output}'"
|
||||
|
||||
Reference in New Issue
Block a user