stas 2004/09/14 12:30:41
Modified: lib/ModPerl BuildMM.pm
Log:
another glue_pod tweak for when .pm file wasn't autogenerated (e.g.
MutexThread)
Revision Changes Path
1.22 +1 -3 modperl-2.0/lib/ModPerl/BuildMM.pm
Index: BuildMM.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -u -r1.21 -r1.22
--- BuildMM.pm 8 Sep 2004 04:10:09 -0000 1.21
+++ BuildMM.pm 14 Sep 2004 19:30:41 -0000 1.22
@@ -274,9 +274,7 @@
# it's possible that the .pm file is not existing
# (e.g. ThreadMutex.pm is not created on unless
# $apr_config->{HAS_THREADS})
- return unless -e $pm;
-
- die "glue_pod: can't find $dst" unless -e $dst;
+ return unless -e $pm && -e $dst;
# have we already glued the doc?
exit 0 unless -s $pm == -s $dst;