From a728101d7d037f3b875c616f772160dae9d3fbce Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Jun 2017 14:21:11 +0200 Subject: bin/get-assignment: bugfix in dependency check right before handing out a package --- bin/get-assignment | 10 ++++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2