diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-09 22:49:18 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-09 22:49:18 (EDT) |
commit | 003adf3a02a685a4bbcebe4491676b584c768723 (patch) | |
tree | c9e57255959161a62203959335506349cb37e4ba /lib | |
parent | 338a585b6c1e0aaad6f2da97f8b59d8e8c8cf741 (diff) |
Pass args to binary package name warnings.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package.sh | 5 |
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} " |