[Bps-public-commit] r18372 - Shipwright/trunk/lib/Shipwright/Script

jesse at bestpractical.com jesse at bestpractical.com
Fri Feb 13 14:47:29 EST 2009


Author: jesse
Date: Fri Feb 13 14:47:29 2009
New Revision: 18372

Modified:
   Shipwright/trunk/lib/Shipwright/Script/Import.pm

Log:
* Module::Build should be built with its Makefile.PL

Modified: Shipwright/trunk/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Import.pm	Fri Feb 13 14:47:29 2009
@@ -335,7 +335,7 @@
     my $shipwright = shift;
 
     my @commands;
-    if ( -f catfile( $source_dir, 'Build.PL' ) ) {
+    if ( -f catfile( $source_dir, 'Build.PL' ) &&  $source_dir !~ /Module-Build/ ) { # M::B should be bootstrapped with MakeMaker
         print "detected Module::Build build system\n";
         @commands = (
             'configure: %%PERL%% Build.PL --install_base=%%INSTALL_BASE%%',



More information about the Bps-public-commit mailing list