summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
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"