Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 10:28:05 +0100
committerErich Eckner <git@eckner.net>2017-11-01 10:28:05 +0100
commitad463afa2d41e42463476e43436eac224bac1de3 (patch)
tree3c51efa5929a02cbde5df72750b4843460d26edf /bin/why-dont-you
parent05a43c23b36c4b68a246bc69fa0d699a3ec469fb (diff)
() -> {}
Diffstat (limited to 'bin/why-dont-you')
-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 a3776ab..b3d9500 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -18,10 +18,10 @@ case "${action}" in
'build')
for pkg in "$@"; do
- (
+ {
grep "^$(str_to_regex "${pkg}") " "${work_dir}/build-list" || \
>&2 printf '"%s" is not on the build list.\n' "${pkg}"
- ) | \
+ } | \
while read -r package git_revision mod_git_revision repository; do
if package_locked_or_blocked "${package}" "${git_revision}" "${mod_git_revision}" "${repository}"; then
@@ -290,12 +290,12 @@ case "${action}" in
)
errors=$(
- (
+ {
# shellcheck disable=SC2086
printf '%s\n' ${build_depends}
awk '{print $3}' "${tmp_dir}/deleted.builds" | \
sort -u
- ) | \
+ } | \
sort | \
uniq -d | \
join -1 1 -2 3 -o 2.1,2.2,2.3 - "${tmp_dir}/deleted.builds"