index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/common-functions | 11 |
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 |