diff options
author | P. J. McDermott <pjm@nac.net> | 2013-08-14 12:30:17 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-08-14 12:30:17 (EDT) |
commit | c8531320376d6ec4e14f501d48af0eddb38e4ee6 (patch) | |
tree | cfee60da364abd529cdc4a6c32724834739cc364 /lib | |
parent | b38dd66680f57e60063fd59f9ddb2a77b966d679 (diff) |
db_get_archplats(): Reverse arch and plat.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/remove.sh | 2 | ||||
-rw-r--r-- | lib/suite.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/remove.sh b/lib/remove.sh index f756a9d..8904efa 100644 --- a/lib/remove.sh +++ b/lib/remove.sh @@ -27,7 +27,7 @@ remove_source_from_suite() local plat= local arch= - while read -r plat arch; do + while read -r arch plat; do remove_packages_from_suite_archplat \ "${chan}" "${dist}" "${plat}" "${arch}" "${source}" done <<-EOF diff --git a/lib/suite.sh b/lib/suite.sh index e0e0b91..3f3257c 100644 --- a/lib/suite.sh +++ b/lib/suite.sh @@ -61,7 +61,7 @@ _suite_copy_source() srcver="$(db_get_srcver "${chan}" "${dist}" "${source}")" db_set_srcver "${dst_chan}" "${dst_dist}" "${source}" "${srcver}" - while read -r plat arch; do + while read -r arch plat; do binver="$(db_get_binver "${src_chan}" "${src_dist}" \ "${arch}" "${plat}" "${source}")" db_set_binver "${dst_chan}" "${dst_dist}" "${arch}" "${plat}" \ |