summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-14 14:21:11 +0200
committerErich Eckner <git@eckner.net>2017-06-14 14:25:42 +0200
commita728101d7d037f3b875c616f772160dae9d3fbce (patch)
tree9fd9192f911d087eab34e1729500f41969ccb4e5 /bin/get-assignment
parent83a72072f11a4fe04fb93fe294e06926671f6673 (diff)
downloadbuilder-a728101d7d037f3b875c616f772160dae9d3fbce.tar.xz
bin/get-assignment: bugfix in dependency check right before handing out a package
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