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-06-30 09:45:51 +0200
committerErich Eckner <git@eckner.net>2017-06-30 09:45:51 +0200
commita540199a427535b3b477b82a1300956f9b3212af (patch)
treecb827a22a8d3b21439ea69d314cad631e22fdb0b /bin/why_dont_you
parentfea81ae4d87f34ea41f779dab87f08079c471115 (diff)
bin/why_dont_you: be a little more verbose
Diffstat (limited to 'bin/why_dont_you')
-rwxr-xr-xbin/why_dont_you10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/why_dont_you b/bin/why_dont_you
index 6424335..ed91f56 100755
--- a/bin/why_dont_you
+++ b/bin/why_dont_you
@@ -24,7 +24,7 @@ case "${action}" in
fi
if package_locked_or_blocked "${package}" "${git_revision}" "${mod_git_revision}" "${repository}"; then
- echo 'is locked or blocked'
+ printf '"%s" is locked or blocked\n' "${pkg}"
continue
fi
@@ -43,7 +43,7 @@ case "${action}" in
sort | \
uniq -d
)" ]; then
- echo 'has unmet dependencies:'
+ printf '"%s" has unmet dependencies:\n' "${package}"
(
cat "${work_dir}/package-infos/${package}.${git_revision}.${mod_git_revision}.needs"
grep -vxF 'break_loops' "${work_dir}/build-list" | \
@@ -69,7 +69,7 @@ case "${action}" in
continue
fi
- echo 'would be built'
+ printf '"%s" would be built\n' "${pkg}"
done
done
@@ -82,7 +82,7 @@ case "${action}" in
if ! ls -1 "${work_dir}/package-states" | \
grep -q "^$(str_to_regex "${pkg}")\(\.[^.]\+\)\{3\}\.done\$"; then
- printf 'Package "%s" is not in staging!\n' "${pkg}"
+ printf '"%s" is not in staging!\n' "${pkg}"
continue
fi
@@ -122,7 +122,7 @@ case "${action}" in
continue
fi
- echo 'No dependencies left on build list.'
+ printf 'No dependencies left on build list for "%s".\n' "${pkg}"
echo "${dependent_packages}"
done