[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. 767592aeeca60f218ad7064bec071078f67db514

jesse jesse at bestpractical.com
Tue Jan 27 21:17:11 EST 2009


The branch, master has been updated
       via  767592aeeca60f218ad7064bec071078f67db514 (commit)
      from  0e230cc996a4d7b1d7d9c27d88b7b54f5bd14846 (commit)

Summary of changes:
 lib/Prophet/App.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 767592aeeca60f218ad7064bec071078f67db514
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Jan 27 21:15:52 2009 -0500

    Fix for 465CBD40-ECDE-11DD-874C-9DA88F31E82D - now we glob replicas specified as paths

diff --git a/lib/Prophet/App.pm b/lib/Prophet/App.pm
index b79dab5..5b11b7a 100644
--- a/lib/Prophet/App.pm
+++ b/lib/Prophet/App.pm
@@ -20,7 +20,7 @@ has handle => (
             if ( !File::Spec->file_name_is_absolute($ENV{'PROPHET_REPO'}) ) {
             # if PROPHET_REPO env var exists and is relative, make it absolute
             # to avoid breakage/confusing error messages later
-            $ENV{'PROPHET_REPO'} = $self->default_replica_type . ":file://".  File::Spec->rel2abs($ENV{'PROPHET_REPO'});
+            $ENV{'PROPHET_REPO'} = $self->default_replica_type . ":file://".  File::Spec->rel2abs(glob($ENV{'PROPHET_REPO'}));
 
             } else {
             $ENV{'PROPHET_REPO'} = $self->default_replica_type . ":file://".  $ENV{'PROPHET_REPO'};

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



More information about the Bps-public-commit mailing list