[Bps-public-commit] r9907 - bpsbuilder/BPB/lib/BPB/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Dec 12 04:52:30 EST 2007


Author: sunnavy
Date: Wed Dec 12 04:52:30 2007
New Revision: 9907

Modified:
   bpsbuilder/BPB/lib/BPB/Script/Build.pm

Log:
not support for build_directory args

Modified: bpsbuilder/BPB/lib/BPB/Script/Build.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Script/Build.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Script/Build.pm	Wed Dec 12 04:52:30 2007
@@ -15,7 +15,6 @@
         'n|name=s'              => 'name',
         'c|config=s'            => 'config',
         'i|install_directory=s' => 'install_directory',
-        'b|build_directory=s'   => 'build_directory',
         'skip_test'             => 'skip_test',
     );
 }
@@ -26,12 +25,11 @@
     $self->install_directory($install_directory) if $install_directory;
 
     my $bpb = BPB->new( config => $self->config, name => $self->name );
-    $bpb->backend->export( target => $self->build_directory
-          || $bpb->config->name->{build}{build_directory} );
+    $bpb->backend->export( target => $bpb->build->build_directory );
 
     # yeah, export's target is the source for build
     $bpb->build->run( map { $_ => $self->$_ }
-          qw/build_directory install_directory skip_test/ );
+          qw/install_directory skip_test/ );
 }
 
 1;



More information about the Bps-public-commit mailing list