[Bps-public-commit] r13348 - in Shipwright/trunk: lib/Shipwright/Script share/bin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jun 17 07:52:16 EDT 2008


Author: sunnavy
Date: Tue Jun 17 07:52:13 2008
New Revision: 13348

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Script/Build.pm
   Shipwright/trunk/share/bin/shipwright-builder

Log:
 r13476 at sunnavys-mb:  sunnavy | 2008-06-17 19:51:48 +0800
 Cwd::abs_path is weirdly buggy


Modified: Shipwright/trunk/lib/Shipwright/Script/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Build.pm	Tue Jun 17 07:52:13 2008
@@ -41,7 +41,7 @@
     if ( $self->install_base ) {
 
         # convert relative path to be absolute
-        $self->install_base( abs_path( $self->install_base ) );
+        $self->install_base( File::Spec->rel2abs( $self->install_base ) );
     }
 
     unless ( $self->name ) {

Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder	(original)
+++ Shipwright/trunk/share/bin/shipwright-builder	Tue Jun 17 07:52:13 2008
@@ -96,7 +96,7 @@
 }
 
 if ( $args{'install-base'} ) {
-    $args{'install-base'} = abs_path( $args{'install-base'} );
+    $args{'install-base'} = File::Spec->rel2abs( $args{'install-base'} );
 }
 
 # YAML::Tiny objects are array based.



More information about the Bps-public-commit mailing list