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:
Diffstat (limited to 'bin/why_dont_you')
-rwxr-xr-xbin/why_dont_you8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/why_dont_you b/bin/why_dont_you
index 0175a10..aa4c4b0 100755
--- a/bin/why_dont_you
+++ b/bin/why_dont_you
@@ -16,17 +16,11 @@ case "${action}" in
for pkg in "$@"; do
(
grep "^$(str_to_regex "${pkg}") " "${work_dir}/build-list" || \
- >&2 printf '"%s" is not on the build list.\n' "${pkg}"
+ >&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" ] ||
- [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.testing" ]; then
- echo 'has been built'
- continue
- fi
-
if package_locked_or_blocked "${package}" "${git_revision}" "${mod_git_revision}" "${repository}"; then
printf '"%s" is locked or blocked\n' "${pkg}"
continue