mirror of
https://github.com/containers/skopeo.git
synced 2025-08-15 05:03:38 +00:00
bash-completions: split decl and assignment to avoid masking retvals
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
699c25568c
commit
646e197eed
@ -60,7 +60,8 @@ _skopeo_copy() {
|
|||||||
--dest-oci-accept-uncompressed-layers
|
--dest-oci-accept-uncompressed-layers
|
||||||
"
|
"
|
||||||
|
|
||||||
local transports="
|
local transports
|
||||||
|
transports="
|
||||||
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
||||||
"
|
"
|
||||||
|
|
||||||
@ -80,7 +81,8 @@ _skopeo_inspect() {
|
|||||||
--no-creds
|
--no-creds
|
||||||
"
|
"
|
||||||
|
|
||||||
local transports="
|
local transports
|
||||||
|
transports="
|
||||||
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
||||||
"
|
"
|
||||||
|
|
||||||
@ -123,7 +125,8 @@ _skopeo_delete() {
|
|||||||
--no-creds
|
--no-creds
|
||||||
"
|
"
|
||||||
|
|
||||||
local transports="
|
local transports
|
||||||
|
transports="
|
||||||
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
$(_skopeo_supported_transports $(echo $FUNCNAME | sed 's/_skopeo_//'))
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user