+2007-11-24 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-scanpackages.pl: Use parenthesis to force the
+ precedence when checking if the specified override file exists.
+
2007-11-24 Guillem Jover <guillem@debian.org>
* scripts/dpkg-scanpackages.pl: Do not require controllib.pl anymore.
* dpkg-shlibdeps: optimize "dpkg -S" lookups by caching results, patch
from Aaron M. Ucko <ucko@debian.org>. Closes: #452577
+ [ Guillem Jover ]
+ * Fix dpkg-scanpackages to properly support an optional override file.
+ Closes: #452621
+
-- Guillem Jover <guillem@debian.org> Fri, 23 Nov 2007 06:50:02 +0200
dpkg (1.14.10) unstable; urgency=low
-d $binarydir or die sprintf(_g("Binary dir %s not found"),
$binarydir)."\n";
-defined $override and -e $override or
- die sprintf(_g("Override file %s not found"), $override)."\n";
+defined($override) and (-e $override or
+ die(sprintf(_g("Override file %s not found"), $override) . "\n"));
$pathprefix = '' if not defined $pathprefix;