From 2f394fd511e9f9d8bce1f2eb1c4350554718e21a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 27 Jul 2017 10:41:56 +0200 Subject: bin/seed-build-list: use more specific / correct revisions --- bin/seed-build-list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/seed-build-list') diff --git a/bin/seed-build-list b/bin/seed-build-list index af85904..8e703a3 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -94,7 +94,7 @@ for repo in ${repo_names}; do continue fi eval 'repo_path="${repo_paths__'"${repo}"'}"' - git -C "${repo_path}" archive origin/master | \ + git -C "${repo_path}" archive "$(cat "${work_dir}/${repo}.revision")" | \ tar -t | \ grep '^[^/]\+/repos/[^/]\+/PKGBUILD$' | \ grep -v -- '-i686/PKGBUILD$' | \ @@ -258,7 +258,7 @@ awk '{print "delete " $1 " X X X " $1}' "${work_dir}/deletion-list" >> \ "${tmp_dir}/build-list.old" # ignore packages on the blacklist -git -C "${repo_paths__archlinux32}" archive HEAD -- blacklist | \ +git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- blacklist | \ tar -Ox blacklist | \ awk '{print "blacklist " $1 " X X X " $1}' >> \ "${tmp_dir}/build-list.old" -- cgit v1.2.3-70-g09d2