[Bps-public-commit] Shipwright branch, master, updated. 1977c9e59c64cb321f0242ae622037591d22a749

? sunnavy sunnavy at bestpractical.com
Sun Jul 3 11:37:00 EDT 2011


The branch, master has been updated
       via  1977c9e59c64cb321f0242ae622037591d22a749 (commit)
      from  d285d30cee3b944c702f369bf1144956164834de (commit)

Summary of changes:
 lib/Shipwright/Source/Compressed.pm |    2 +-
 lib/Shipwright/Source/Directory.pm  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 1977c9e59c64cb321f0242ae622037591d22a749
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sun Jul 3 23:36:58 2011 +0800

    forgot to use the dzil cmd in env

diff --git a/lib/Shipwright/Source/Compressed.pm b/lib/Shipwright/Source/Compressed.pm
index 247ef23..31edfab 100644
--- a/lib/Shipwright/Source/Compressed.pm
+++ b/lib/Shipwright/Source/Compressed.pm
@@ -103,7 +103,7 @@ sub _cmd {
 
             my $old = getcwd();
             chdir $from . '-tmp';
-            run_cmd( [ 'dzil', 'build', '--in', $to ] );
+            run_cmd( [ $ENV{SHIPWRIGHT_DZIL}, 'build', '--in', $to ] );
             chdir $old;
         }
 
diff --git a/lib/Shipwright/Source/Directory.pm b/lib/Shipwright/Source/Directory.pm
index cac2a73..81d0220 100644
--- a/lib/Shipwright/Source/Directory.pm
+++ b/lib/Shipwright/Source/Directory.pm
@@ -79,7 +79,7 @@ sub _cmd {
         # assume it's a Dist::Zilla dist
         return sub {
             chdir $self->source;
-            run_cmd( [ 'dzil', 'build', '--in', $to ] );
+            run_cmd( [ $ENV{SHIPWRIGHT_DZIL}, 'build', '--in', $to ] );
             chdir $old;
         };
     }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list