From d44ba3fdd61ccedc00033e47c4d4eea117002fc4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 14 Aug 2013 12:08:53 -0400 Subject: db_*_binver(): Reverse arch and plat. --- (limited to 'lib/include.sh') diff --git a/lib/include.sh b/lib/include.sh index 1dabd44..662f1ab 100644 --- a/lib/include.sh +++ b/lib/include.sh @@ -71,7 +71,7 @@ include_changes() LC_COLLATE='C' sort | uniq)" while read -r binver arch plat; do old_ver="$(db_get_binver "${chan}" "${dist}" \ - "${plat}" "${arch}" "${source}")" + "${arch}" "${plat}" "${source}")" if [ "x${old_ver}" != 'x' ]; then if [ "x${old_ver}" = "x${binver}" ]; then error 2 "$(get_msg 'include_bvap_exists')" \ @@ -80,7 +80,7 @@ include_changes() remove_packages_from_suite_archplat "${chan}" \ "${dist}" "${plat}" "${arch}" "${source}" fi - db_set_binver "${chan}" "${dist}" "${plat}" "${arch}" \ + db_set_binver "${chan}" "${dist}" "${arch}" "${plat}" \ "${source}" "${binver}" db_inc_references "${plat}" "${arch}" "${source}" "${binver}" \ >/dev/null -- cgit v0.9.1