Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 | \