From c8531320376d6ec4e14f501d48af0eddb38e4ee6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 14 Aug 2013 12:30:17 -0400 Subject: db_get_archplats(): Reverse arch and plat. --- (limited to 'lib') 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}" \ -- cgit v0.9.1