From 003adf3a02a685a4bbcebe4491676b584c768723 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 09 Oct 2012 22:49:18 -0400 Subject: Pass args to binary package name warnings. --- 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} " -- cgit v0.9.1