From 338a585b6c1e0aaad6f2da97f8b59d8e8c8cf741 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Tue, 09 Oct 2012 22:45:08 -0400
Subject: Fix missing ob_get_msg() calls.

---
(limited to 'lib')

diff --git a/lib/package.sh b/lib/package.sh
index d4c9c5d..5f643b0 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 'bad_binary_name'
+				ob_warn "$(ob_get_msg 'bad_binary_name')"
 				continue
 			fi
 
@@ -176,7 +176,7 @@ 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 'duplicate_clean_binary_name'
+			ob_warn "$(ob_get_msg 'duplicate_clean_binary_name')"
 				continue
 			else
 				_obgbpk_pkgs_clean="${_obgbpk_pkgs_clean}${_obgbpk_pkg_clean} "
--
cgit v0.9.1