Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19294/lib/Module/Build
Modified Files:
Tag: release-0_26_branch
Base.pm
Log Message:
die() in 'distcheck' if MANIFEST is out of sync
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.340.2.16
retrieving revision 1.340.2.17
diff -u -d -r1.340.2.16 -r1.340.2.17
--- Base.pm 6 Feb 2005 13:26:16 -0000 1.340.2.16
+++ Base.pm 6 Feb 2005 13:44:47 -0000 1.340.2.17
@@ -1959,7 +1959,9 @@
require ExtUtils::Manifest;
local $^W; # ExtUtils::Manifest is not warnings clean.
- ExtUtils::Manifest::fullcheck();
+ my ($missing, $extra) = ExtUtils::Manifest::fullcheck();
+ die "MANIFEST appears to be out of sync with the distribution!\n"
+ if @$missing || @$extra;
}
sub _add_to_manifest {
|