Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates11
1 files changed, 6 insertions, 5 deletions
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.'