index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/get-package-updates | 11 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 50c8216..11e2083 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -160,14 +160,15 @@ while read -r package git_rev repository; do fi while read target; do - echo "${target} ${target}" >> \ + echo "${target} ${package}" >> \ "${work_dir}/build-order" - while read dependency; do - echo "${target} ${dependency}" >> \ - "${work_dir}/build-order" - done < "${work_dir}/package-infos/${package}.${git_rev}.needs" done < "${work_dir}/package-infos/${package}.${git_rev}.builds" + while read dependency; do + echo "${package} ${dependency}" >> \ + "${work_dir}/build-order" + done < "${work_dir}/package-infos/${package}.${git_rev}.needs" + done < "${work_dir}/build-list.new" echo 'Now actually sort it.' |