summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorjoey <joey>2002-04-08 15:47:57 +0000
committerjoey <joey>2002-04-08 15:47:57 +0000
commitea383ca972213bdda50226c536e3224a361904b8 (patch)
tree56740977e7d6a6fcd56ae0a15437e4c9a2ece345 /Debian
parentcb70a3cff0f92817bbaaaa6f7270110c93883dec (diff)
r517: * Fixed an uninitialized value warning, Closes: #141729
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index b566724d..81ef6cae 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -388,7 +388,7 @@ sub addsubstvar {
my $ext=pkgext($package);
my $substvarfile="debian/${ext}substvars";
my $str=$deppackage;
- $str.=" ($verinfo)" if length $verinfo;
+ $str.=" ($verinfo)" if defined $verinfo && length $verinfo;
# Figure out what the line will look like, based on what's there
# now, and what we're to add or remove.