diff options
author | Erich Eckner <git@eckner.net> | 2017-07-29 20:35:37 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-29 20:35:55 +0200 |
commit | 40ff3da46482c7a3992096a193bd4f704a65a120 (patch) | |
tree | 68f54a859358d5915c76277aa53d61cb5e720c15 /bin/get-assignment | |
parent | b224b5ac1dd6f219ac59477d30d84a8732e31b90 (diff) | |
download | builder-40ff3da46482c7a3992096a193bd4f704a65a120.tar.xz |
new routine to find dependencies on the build list: "find_dependencies_on_build_list"
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-x | bin/get-assignment | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/bin/get-assignment b/bin/get-assignment index d426988..1b2a00d 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -144,21 +144,9 @@ for hand_out_broken in false true; do continue fi - [ -z "$( - ( - cat "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.${repository}.needs" - grep -vxF 'break_loops' "${work_dir}/build-list" | \ - awk '{print $1 "." $2 "." $3 "." $4}' | \ - sed " - s|^|${work_dir}/package-infos/| - s|\$|\.builds| - " | \ - xargs -r cat | \ - sort -u - ) | \ - sort | \ - uniq -d - )" ] || continue + if [ -n "$(find_dependencies_on_build_list "${package}" "${git_revision}" "${mod_git_revision}" "${repository}")" ]; then + continue + fi hand_out_assignment "${package}" "${git_revision}" "${mod_git_revision}" "${repository}" |