From f79dea0f5e1b89488d73bfb0360e651b8d578e15 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 11 Apr 2019 18:15:41 -0400 Subject: Consistently shift function arguments --- (limited to 'src/suite.sh') 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}" } -- cgit v0.9.1