summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-28 10:35:22 +0100
committerErich Eckner <git@eckner.net>2019-02-28 10:35:22 +0100
commitf0c847ea1a25c234e40be487cad0aebccda77156 (patch)
treebd79a8ea41a7d38b787354215f126a2a33ae1674
parent26e9e9ac28415d71968901f976d1e771ef7677a0 (diff)
downloadbuilder-f0c847ea1a25c234e40be487cad0aebccda77156.tar.xz
bin/get-package-updates
-rwxr-xr-xbin/get-package-updates5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 9271c90..81efc2f 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -384,7 +384,10 @@ echo 'Check modified packages from the last update, and put them to the build li
# shellcheck disable=SC2154
git_revision="${new_repo_revisions__archlinux32}"
found_package=false
- for repository in ${repo_names}; do
+ # we need to test archlinux32 last, because otherwise
+ # find_package_repository_to_package might look in the wrong git
+ # repository of a package w/o upstream
+ for repository in ${repo_names} archlinux32; do
eval 'repo_path="${repo_paths__'"${repository}"'}"'
if [ "${repository}" = "archlinux32" ]; then
if git -C "${repo_path}" archive "${new_repo_revisions__archlinux32}" 2> /dev/null | \