perl warning in dpkg-source
Bug #133024 reported by
Fabien Tassin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
dpkg-source -b nspr-trunk-
Use of uninitialized value in pattern match (m//) at /usr/bin/
dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-
dpkg-source: building nspr-trunk in nspr-trunk_
tiny patch attached.
Related branches
Changed in dpkg: | |
importance: | Undecided → Low |
Changed in dpkg: | |
assignee: | nobody → pitti |
status: | Triaged → In Progress |
To post a comment you must log in.
Confirmed, although && binds more tightly than list operators rightward, so strictly speaking that should be either:
if (defined( $ENV{'DEBEMAIL' }) && $ENV{'DEBEMAIL'} =~ /ubuntu/) {
... or:
if (defined $ENV{'DEBEMAIL'} and $ENV{'DEBEMAIL'} =~ /ubuntu/) {
The prevailing style in this file leans towards the former.
(In practice it happens to make no difference in this case since undef is also false, but better safe than sorry.)