summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/remove.sh2
-rw-r--r--lib/suite.sh2
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}" \