Comment 2 for bug 133024

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [gutsy] perl warning in dpkg-source

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.)