From 03f614d7fe1e9e88d1333f7257612975a6afdf2b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Nov 2019 23:57:44 +0100 Subject: lib/common-functions: find_package_repository_to_package(): print what went wrong --- lib/common-functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/common-functions') 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 -- cgit v1.2.3-70-g09d2