Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 197c16c..a684315 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -502,7 +502,10 @@ find_package_repository_to_package() {
fi
if [ -z "${repo}" ]; then
- echo "find_package_repository_to_package(): no repo found" >&2
+ >&2 printf 'find_package_repository_to_package %s %s %s: no repo found\n' \
+ "${package}" \
+ "${git_repository}" \
+ "${git_commit}"
return 1
fi
@@ -510,7 +513,11 @@ find_package_repository_to_package() {
echo "${repo}" | \
wc -l
)" -ne 1 ]; then
- echo "find_package_repository_to_package(): multiple repos found" >&2
+ >&2 printf 'find_package_repository_to_package %s %s %s: multiple repos found:\n' \
+ "${package}" \
+ "${git_repository}" \
+ "${git_commit}"
+ >&2 printf '%s\n' ${repo}
return 1
fi