[interchange-cvs] interchange - jon modified Makefile.PL

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Fri Feb 1 10:48:01 2002


User:      jon
Date:      2002-02-01 15:47:43 GMT
Modified:  .        Tag: STABLE_4_8-branch Makefile.PL
Log:
Exit without an error when CPAN modules are missing if 'force' option given.

Also, remove a stray comment.

Revision  Changes    Path
No                   revision



No                   revision



2.9.2.10  +1 -3      interchange/Makefile.PL


rev 2.9.2.10, prev_rev 2.9.2.9
Index: Makefile.PL
===================================================================
RCS file: /var/cvs/interchange/Makefile.PL,v
retrieving revision 2.9.2.9
retrieving revision 2.9.2.10
diff -u -u -r2.9.2.9 -r2.9.2.10
--- Makefile.PL	24 Jan 2002 05:07:01 -0000	2.9.2.9
+++ Makefile.PL	1 Feb 2002 15:47:43 -0000	2.9.2.10
@@ -30,8 +30,6 @@
 
 $VERSION = '4.8.4';
 
-# See if we have the CPAN module
-
 my @os_hints;
 eval {
 	# gets package 'mvhints'
@@ -627,7 +625,7 @@
 
 Please run src/cpan_local_install to install them.
 EOF
-  				exit 1;
+  				exit ($MV::Default{force} ? 0 : 1);
 			} else {
 				print <<EOF;
 You do not appear to have all the required modules installed. You are missing: