summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/package.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 5f643b0..96b6709 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -167,7 +167,7 @@ ob_get_binary_packages()
# Validate the name.
if ! ob_validate_binary_name "${_obgbpk_pkg}"; then
- ob_warn "$(ob_get_msg 'bad_binary_name')"
+ ob_warn "$(ob_get_msg 'bad_binary_name')" "${_obgbpk_pkg}"
continue
fi
@@ -176,7 +176,8 @@ ob_get_binary_packages()
tr -dC 'A-Z0-9') "
if echo "${_obgbpk_pkgs_clean}" | grep "${_obgbpk_pkg_clean}" \
>/dev/null 2>&1; then
- ob_warn "$(ob_get_msg 'duplicate_clean_binary_name')"
+ ob_warn "$(ob_get_msg 'duplicate_clean_binary_name')" \
+ "${_obgbpk_pkg_clean}"
continue
else
_obgbpk_pkgs_clean="${_obgbpk_pkgs_clean}${_obgbpk_pkg_clean} "