Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 20:26:38 +0100
committerErich Eckner <git@eckner.net>2017-11-01 20:26:38 +0100
commit9bfd32c38b6f46140263553cf33c12d3b5fe03ef (patch)
treec989fabe4c9583ec9f5df5756f7996cc2bb15c6e /bin
parentd20f51b10b8a10894ed5a8a3dd5bdc405da1f0b2 (diff)
bin/why-dont-you: bugfix for "keep"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/why-dont-you8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 25419ff..d1d528a 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -233,11 +233,11 @@ case "${action}" in
fi
- sed "s|^|${pkg} builds |" "${work_dir}/package-infos/${pkg}.${rev}.${mod_rev}.${prepo}.builds" >> \
- "${tmp_dir}/deleted.builds"
+ sed "s|^|${pkg} builds |" "${work_dir}/package-infos/${pkg}.${rev}.${mod_rev}.${prepo}.builds"
done < \
- "${work_dir}/deletion-list"
+ "${work_dir}/deletion-list" > \
+ "${tmp_dir}/deleted.builds"
sort -k3,3 "${tmp_dir}/deleted.builds" | \
sponge "${tmp_dir}/deleted.builds"
@@ -273,7 +273,7 @@ case "${action}" in
fi
build_depends=$(
- find "${work_dir}/package-infos" -maxdepth 1 -name "${pkg}.*.build-depends"
+ find "${work_dir}/package-infos" -maxdepth 1 -name "${pkg}.*.build-depends" -exec cat {} \;
)
if [ -z "${build_depends}" ]; then
printf 'Package "%s" was deleted in the git repositories.\n' "${pkg}"