[Bps-public-commit] r13528 - in Shipwright/trunk: lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat Jun 21 03:06:37 EDT 2008


Author: sunnavy
Date: Sat Jun 21 03:06:37 2008
New Revision: 13528

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Script/Import.pm

Log:
 r13614 at sunnavys-mb:  sunnavy | 2008-06-21 05:54:50 +0800
 tiny fix


Modified: Shipwright/trunk/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Import.pm	Sat Jun 21 03:06:37 2008
@@ -310,8 +310,9 @@
         push @commands, "clean: make clean";
     }
     else {
+        my ($name) = $source_dir =~ /([-\w.]+)$/;
         print "unknown build system for this dist; you MUST manually edit\n";
-        print "script/${shipwright->name}/build or provide a build.pl file\n";
+        print "scripts/$name/build or provide a build.pl file\n";
         print "or this dist will not be built\n";
         $self->log->warn("I have no idea how to build this distribution");
         # stub build file to provide the user something to go from



More information about the Bps-public-commit mailing list