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:
authorErich Eckner <git@eckner.net>2017-07-29 20:35:37 +0200
committerErich Eckner <git@eckner.net>2017-07-29 20:35:55 +0200
commit40ff3da46482c7a3992096a193bd4f704a65a120 (patch)
tree68f54a859358d5915c76277aa53d61cb5e720c15 /bin/get-assignment
parentb224b5ac1dd6f219ac59477d30d84a8732e31b90 (diff)
new routine to find dependencies on the build list: "find_dependencies_on_build_list"
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment18
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}"