Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/calculate-dependent-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-13 22:34:40 +0200
committerErich Eckner <git@eckner.net>2017-09-13 22:34:40 +0200
commit5c654c56e3e5d0c6561d481769103254a11628d2 (patch)
tree2387abc9222be094f316d8e68f08e5970309114c /bin/calculate-dependent-packages
parentab6335819fd13daf88e628d9fc4f9b44bec13af0 (diff)
bin/calculate-dependent-packages: bugfix
Diffstat (limited to 'bin/calculate-dependent-packages')
-rwxr-xr-xbin/calculate-dependent-packages5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/calculate-dependent-packages b/bin/calculate-dependent-packages
index 0204d21..22a6ed9 100755
--- a/bin/calculate-dependent-packages
+++ b/bin/calculate-dependent-packages
@@ -57,7 +57,7 @@ while [ -s "${tmp_dir}/build-list" ] && [ "${sums}" != "$(sha512sum "${tmp_dir}/
s|^|'"${work_dir}"'/package-infos/|
s|$|.build-depends|
' "${tmp_dir}/build-list" | \
- xargs -r grep -vx 'base\|base-devel' | \
+ xargs -r grep -hvx 'base\|base-devel' | \
sort -u > \
"${tmp_dir}/build-list.build-depends"
@@ -131,8 +131,7 @@ while [ -s "${tmp_dir}/build-list" ] && [ "${sums}" != "$(sha512sum "${tmp_dir}/
s|^|'"${work_dir}"'/package-infos/|
s|$|.build-depends|
' | \
- xargs -r cat | \
- grep -vx 'base\|base-devel' | \
+ xargs -r grep -hvx 'base\|base-devel' | \
sort -u
) | \
sort | \