index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-13 22:34:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-13 22:34:40 +0200 |
commit | 5c654c56e3e5d0c6561d481769103254a11628d2 (patch) | |
tree | 2387abc9222be094f316d8e68f08e5970309114c /bin/calculate-dependent-packages | |
parent | ab6335819fd13daf88e628d9fc4f9b44bec13af0 (diff) |
-rwxr-xr-x | bin/calculate-dependent-packages | 5 |
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 | \ |