summaryrefslogtreecommitdiffstats
path: root/src/suite.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-11 18:15:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-11 18:15:41 (EDT)
commitf79dea0f5e1b89488d73bfb0360e651b8d578e15 (patch)
tree682bacab015acd1175f57b7bcbc8b65e4cb02ba5 /src/suite.sh
parentd19eb991c6cf206dba7a9ecc0732c4ab5e7b4f85 (diff)
Consistently shift function arguments
Diffstat (limited to 'src/suite.sh')
-rw-r--r--src/suite.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/suite.sh b/src/suite.sh
index 04c0285..f38c9ca 100644
--- a/src/suite.sh
+++ b/src/suite.sh
@@ -26,6 +26,7 @@ copy_suite()
local src_dist="${2}"
local dst_chan="${3}"
local dst_dist="${4}"
+ shift 4
info "$(get_msg 'suite_copying')" \
"${src_chan}" "${src_dist}" "${dst_chan}" "${dst_dist}"
@@ -40,6 +41,7 @@ remove_suite()
{
local chan="${1}"
local dist="${2}"
+ shift 2
info "$(get_msg 'suite_removing')" \
"${chan}" "${dist}"
@@ -54,6 +56,7 @@ _suite_copy_source()
local source="${3}"
local dst_chan="${4}"
local dst_dist="${5}"
+ shift 5
local srcver=
local arch=
local plat=
@@ -94,6 +97,7 @@ _suite_remove_source()
local chan="${1}"
local dist="${2}"
local source="${3}"
+ shift 3
remove_source_from_suite "${chan}" "${dist}" "${source}"
}