index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-01 10:28:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-01 10:28:05 +0100 |
commit | ad463afa2d41e42463476e43436eac224bac1de3 (patch) | |
tree | 3c51efa5929a02cbde5df72750b4843460d26edf /bin/why-dont-you | |
parent | 05a43c23b36c4b68a246bc69fa0d699a3ec469fb (diff) |
-rwxr-xr-x | bin/why-dont-you | 8 |
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" |