[Bps-public-commit] r16027 - in Shipwright/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat Sep 20 10:31:25 EDT 2008


Author: sunnavy
Date: Sat Sep 20 10:31:24 2008
New Revision: 16027

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

Log:
 r16789 at sunnavys-mb:  sunnavy | 2008-09-20 22:30:53 +0800
 convert fs repository to be absolute path


Modified: Shipwright/trunk/lib/Shipwright/Backend.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend.pm	Sat Sep 20 10:31:24 2008
@@ -4,6 +4,7 @@
 use strict;
 use Carp;
 use UNIVERSAL::require;
+use Cwd qw/abs_path/;
 
 =head1 NAME
 
@@ -45,6 +46,7 @@
     }
     elsif ( $args{repository} =~ m{^\s*fs:} ) {
         $args{repository} =~ s{^\s*fs:}{};
+        $args{repository} = abs_path( $args{repository} );
         $module = 'Shipwright::Backend::FS';
     }
     else {



More information about the Bps-public-commit mailing list