diff options
author | Erich Eckner <git@eckner.net> | 2017-07-27 10:41:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-27 10:41:56 +0200 |
commit | 2f394fd511e9f9d8bce1f2eb1c4350554718e21a (patch) | |
tree | 60bca05702f5b8a0a10891abe359144aad8d0da1 /bin/seed-build-list | |
parent | 4226d8454c5ebf319fb1b880ba90a4f84a5f2a24 (diff) | |
download | builder-2f394fd511e9f9d8bce1f2eb1c4350554718e21a.tar.xz |
bin/seed-build-list: use more specific / correct revisions
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-x | bin/seed-build-list | 4 |
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" |