Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-18 23:57:44 +0100
committerErich Eckner <git@eckner.net>2019-11-18 23:57:44 +0100
commit03f614d7fe1e9e88d1333f7257612975a6afdf2b (patch)
tree4e405427c2a35d0f5e571d8b6a7ae04d31c74d8f /lib
parent69d1a21b6e1ff2dbaf34f17f2b877fb22927ab2c (diff)
lib/common-functions: find_package_repository_to_package(): print what went wrong
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 729cc46..5b649e7 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -501,6 +501,7 @@ find_package_repository_to_package() {
fi
if [ -z "${repo}" ]; then
+ echo "find_package_repository_to_package(): no repo found" >&2
return 1
fi
@@ -508,6 +509,7 @@ find_package_repository_to_package() {
echo "${repo}" | \
wc -l
)" -ne 1 ]; then
+ echo "find_package_repository_to_package(): multiple repos found" >&2
return 1
fi