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:
authorErich Eckner <git@eckner.net>2017-09-13 14:28:59 +0200
committerErich Eckner <git@eckner.net>2017-09-13 14:28:59 +0200
commitab6335819fd13daf88e628d9fc4f9b44bec13af0 (patch)
tree3994e0d4d46ce583ae410aaa46ec61d216416858 /bin/get-package-updates
parent8a8d2d7644c275cea599ac91d2d83154c91547a9 (diff)
clean up meta-data naming mess: {needs; depends} -> {run-depends, build-depends} (content differs, too)
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 1d901da..7d9248a 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -309,7 +309,7 @@ sed "
sed "
s|^\S\+ |${work_dir}/package-infos/|
- s|\$|.needs|
+ s|\$|.build-depends|
" "${work_dir}/newest-revisions" | \
xargs -r grep -HF '' | \
sed '
@@ -381,7 +381,7 @@ while read -r package git_revision mod_git_revision repository; do
# add "$pkgname -> $build-target" to build-order list
sed "s|^|${package} |" "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.${repository}.builds"
# add "$dependency -> $pkgname" to build-order list
- sed "s|\$| ${package}|" "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.${repository}.needs"
+ sed "s|\$| ${package}|" "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.${repository}.build-depends"
# add "base/base-devel -> $pkgname" to build-order list
printf "%s ${package}\n" 'base' 'base-devel'
done \