Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index ffa8c76..250a4f9 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -107,8 +107,14 @@ while read -r package git_revision mod_git_revision repository; do
[ -z "$(
(
- cat "${work_dir}/package-infos/${package}."*".needs"
- awk '{print $1}' "${work_dir}/build-list"
+ cat "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.needs"
+ awk '{print $1 "." $2 "." $3}' "${work_dir}/build-list" | \
+ sed "
+ s|^|${work_dir}/package-infos/|
+ s|\$|\.builds|
+ " | \
+ xargs -r cat | \
+ sort -u
) | \
sort | \
uniq -d