From c90e8aa6258dea5391341e435b82bc22e895e86c Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Wed, 11 Jul 2007 10:45:22 +0000 Subject: - avoid an undef value causing warning --- lib/MDV/Distribconf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm index 6e417fa..8695c55 100644 --- a/lib/MDV/Distribconf.pm +++ b/lib/MDV/Distribconf.pm @@ -446,7 +446,7 @@ sub getvalue { last; }; /^productid$/ and do { - return join(',', map { "$_=" . $distrib->getvalue(undef, $_, '') } + return join(',', map { "$_=" . ($distrib->getvalue(undef, $_) || '') } qw(vendor distribution type version branch release arch product)); }; /^path$/ and return $media; -- cgit v1.2.1