From 5c654c56e3e5d0c6561d481769103254a11628d2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Sep 2017 22:34:40 +0200 Subject: bin/calculate-dependent-packages: bugfix --- bin/calculate-dependent-packages | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') 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 | \ -- cgit v1.2.3-70-g09d2