[Bps-public-commit] r10384 - bpsbuilder/BPB/lib/BPB

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 17 13:34:32 EST 2008


Author: sunnavy
Date: Thu Jan 17 13:34:28 2008
New Revision: 10384

Modified:
   bpsbuilder/BPB/lib/BPB/Backend.pm
   bpsbuilder/BPB/lib/BPB/Build.pm

Log:
added bin and sbin paths to $ENV{PATH}

Modified: bpsbuilder/BPB/lib/BPB/Backend.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Backend.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Backend.pm	Thu Jan 17 13:34:28 2008
@@ -93,6 +93,10 @@
     $ENV{PERL5LIB} =
       File::Spec->catfile( $args{'install-base'}, 'lib', 'perl5' ) . ':'
       . $ENV{PERL5LIB};
+    $ENV{PATH} =
+        File::Spec->catfile( $args{'install-base'}, 'bin' ) . ':'
+      . File::Spec->catfile( $args{'install-base'}, 'sbin' ) . ':'
+      . $ENV{PATH};
     $ENV{PERL_MM_USE_DEFAULT} = 1;
 }
 

Modified: bpsbuilder/BPB/lib/BPB/Build.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Build.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Build.pm	Thu Jan 17 13:34:28 2008
@@ -40,6 +40,10 @@
     $ENV{PERL5LIB} =
       File::Spec->catfile( $self->install_base, 'lib', 'perl5' ) . ':'
       . $ENV{PERL5LIB};
+    $ENV{PATH} =
+        File::Spec->catfile( $self->install_base, 'bin' ) . ':'
+      . File::Spec->catfile( $self->install_base, 'sbin' ) . ':'
+      . $ENV{PATH};
     $ENV{PERL_MM_USE_DEFAULT} = 1;
     return $self;
 }



More information about the Bps-public-commit mailing list