summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-10 22:01:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-10 22:01:18 (EDT)
commit8dedc670d5fa18e4fa0624828ebd8353bb9393eb (patch)
tree4e3cc01e705120fb3903024950a289485f386c8e /lib
parentddc623c0752963273b5cf52bf11d6ad000d5d194 (diff)
Reset _obgbpk_pkgs before reusing it.
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 96b6709..5cfc284 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -193,6 +193,8 @@ ob_get_binary_packages()
fi
+ _obgbpk_pkgs=''
+
if [ -n "${_obgbpk_host_arch}" ]; then
for _obgbpk_pkg in ${_OB_BINARY_PACKAGES}; do
if ob_match_arch "${_obgbpk_host_arch}" "$(ob_get_binary_parameter \