summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-27 10:41:56 +0200
committerErich Eckner <git@eckner.net>2017-07-27 10:41:56 +0200
commit2f394fd511e9f9d8bce1f2eb1c4350554718e21a (patch)
tree60bca05702f5b8a0a10891abe359144aad8d0da1
parent4226d8454c5ebf319fb1b880ba90a4f84a5f2a24 (diff)
downloadbuilder-2f394fd511e9f9d8bce1f2eb1c4350554718e21a.tar.xz
bin/seed-build-list: use more specific / correct revisions
-rwxr-xr-xbin/seed-build-list4
1 files changed, 2 insertions, 2 deletions
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"