index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-13 14:28:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-13 14:28:59 +0200 |
commit | ab6335819fd13daf88e628d9fc4f9b44bec13af0 (patch) | |
tree | 3994e0d4d46ce583ae410aaa46ec61d216416858 /bin/why-dont-you | |
parent | 8a8d2d7644c275cea599ac91d2d83154c91547a9 (diff) |
-rwxr-xr-x | bin/why-dont-you | 16 |
diff --git a/bin/why-dont-you b/bin/why-dont-you index 64f914c..5dcf243 100755 --- a/bin/why-dont-you +++ b/bin/why-dont-you @@ -67,10 +67,10 @@ case "${action}" in fi dependent_packages=$( - grep -lxF "${pkg}" "${work_dir}/package-infos/"*".needs" | \ + grep -lxF "${pkg}" "${work_dir}/package-infos/"*".run-depends" | \ sed ' s|^.*/|| - s|\.needs$|| + s|\.run-depends$|| ' ) @@ -216,22 +216,22 @@ case "${action}" in continue fi - needs=$( - find "${work_dir}/package-infos" -maxdepth 1 -name "${pkg}.*.needs" + build_depends=$( + find "${work_dir}/package-infos" -maxdepth 1 -name "${pkg}.*.build-depends" ) - if [ -z "${needs}" ]; then + if [ -z "${build_depends}" ]; then printf 'Package "%s" was deleted in the git repositories.\n' "${pkg}" continue fi - needs=$( - sort -u "${needs}" + build_depends=$( + sort -u "${build_depends}" ) errors=$( ( # shellcheck disable=SC2086 - printf '%s\n' ${needs} + printf '%s\n' ${build_depends} awk '{print $3}' "${tmp_file}" | \ sort -u ) | \ |