summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-19 00:21:57 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-19 00:21:57 +0000
commit50963b5726136350e783df92908209d5aeebe3e0 (patch)
treef671c8384e6c3758671f6ebec23af0c286a66180 /bin
parent6a4ff7f67384ab5a9247baad448ced84932f9831 (diff)
downloadperl-MDV-Distribconf-50963b5726136350e783df92908209d5aeebe3e0.tar
perl-MDV-Distribconf-50963b5726136350e783df92908209d5aeebe3e0.tar.gz
perl-MDV-Distribconf-50963b5726136350e783df92908209d5aeebe3e0.tar.bz2
perl-MDV-Distribconf-50963b5726136350e783df92908209d5aeebe3e0.tar.xz
perl-MDV-Distribconf-50963b5726136350e783df92908209d5aeebe3e0.zip
- avoid warning on undefined value
Diffstat (limited to 'bin')
-rwxr-xr-xbin/checkdistrib4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/checkdistrib b/bin/checkdistrib
index 57f6dc8..2da8cce 100755
--- a/bin/checkdistrib
+++ b/bin/checkdistrib
@@ -23,8 +23,8 @@ foreach my $tree (@distribs) {
printf(
"\nChecking distrib in %s (%s for %s)\n",
$tree,
- $mdc->getvalue(undef, 'version'),
- $mdc->getvalue(undef, 'arch'),
+ $mdc->getvalue(undef, 'version') || 'unknown',
+ $mdc->getvalue(undef, 'arch') || 'unknown',
);
}