[Bps-public-commit] r14236 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 17 17:32:00 EDT 2008


Author: sartak
Date: Thu Jul 17 17:31:59 2008
New Revision: 14236

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI/Command/Publish.pm

Log:
 r64520 at onn:  sartak | 2008-07-17 17:17:46 -0400
 Have the exported directory use the replica uuid instead of whatever tempdir gives us


Modified: Prophet/trunk/lib/Prophet/CLI/Command/Publish.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Publish.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Publish.pm	Thu Jul 17 17:31:59 2008
@@ -13,6 +13,11 @@
 before run => sub {
     my $self = shift;
     my $dir = tempdir(CLEANUP => 1);
+
+    my $uuid = $self->app_handle->handle->db_uuid;
+    $dir .= "/$uuid";
+    mkdir $dir;
+
     $self->set_arg(path => $dir);
 };
 



More information about the Bps-public-commit mailing list