index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-07-06 09:21:35 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-06 09:21:35 +0200 |
commit | 44903dcc7a1f9c41f194a3c213a812e00f817466 (patch) | |
tree | c420e789d2f7c3e32343fde1f9683d609c38d992 | |
parent | c9d144af7c3dc999643130406809d55a38861f47 (diff) |
-rwxr-xr-x | bin/why_dont_you | 6 |
diff --git a/bin/why_dont_you b/bin/why_dont_you index 2d28f85..8b2e49c 100755 --- a/bin/why_dont_you +++ b/bin/why_dont_you @@ -14,7 +14,11 @@ case "${action}" in 'build') for pkg in "$@"; do - grep "^$(str_to_regex "${pkg}") " "${work_dir}/build-list" | \ + ( + grep "^$(str_to_regex "${pkg}") " "${work_dir}/build-list" || \ + >&2 printf '"%s" is not on the build list.\n' "${pkg}" + continue + ) | \ while read -r package git_revision mod_git_revision repository; do if [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.done" ] || |