[Bps-public-commit] r14848 - in Shipwright/trunk: lib/Shipwright/Backend

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Aug 6 08:20:49 EDT 2008


Author: sunnavy
Date: Wed Aug  6 08:20:49 2008
New Revision: 14848

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Backend/FS.pm

Log:
 r15372 at sunnavys-mb:  sunnavy | 2008-08-06 20:20:23 +0800
 we need to attach / to get cp dwim


Modified: Shipwright/trunk/lib/Shipwright/Backend/FS.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/FS.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/FS.pm	Wed Aug  6 08:20:49 2008
@@ -67,13 +67,13 @@
             if ( my $script_dir = $args{build_script} ) {
                 $cmd = [
                     'cp',        '-r',
-                    $script_dir, $self->repository . "/scripts/$args{name}/",
+                    "$script_dir/", $self->repository . "/scripts/$args{name}",
                 ];
             }
             else {
                 $cmd = [
                     'cp',          '-r',
-                    $args{source}, $self->repository . "/dists/$args{name}",
+                    "$args{source}/", $self->repository . "/dists/$args{name}",
                 ];
             }
         }



More information about the Bps-public-commit mailing list