[Bps-public-commit] r14305 - in Shipwright/trunk: share/etc

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jul 18 20:22:07 EDT 2008


Author: sunnavy
Date: Fri Jul 18 20:22:04 2008
New Revision: 14305

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/share/etc/shipwright-perl-wrapper
   Shipwright/trunk/share/etc/shipwright-script-wrapper
   Shipwright/trunk/share/etc/shipwright-source-bash
   Shipwright/trunk/share/etc/shipwright-source-tcsh

Log:
 r14742 at sunnavys-mb:  sunnavy | 2008-07-19 08:21:28 +0800
 set PATH in wrapper too, and do not forget sbin


Modified: Shipwright/trunk/share/etc/shipwright-perl-wrapper
==============================================================================
--- Shipwright/trunk/share/etc/shipwright-perl-wrapper	(original)
+++ Shipwright/trunk/share/etc/shipwright-perl-wrapper	Fri Jul 18 20:22:04 2008
@@ -12,6 +12,7 @@
     BASE_DIR=` (cd "$BASE_DIR"; pwd) `
     FILENAME=`basename "$BASE"`
     WRAPPED_DIR=`basename "$BASE_DIR"`
+    PATH=${BASE_DIR}/../sbin:${BASE_DIR}/../bin:$PATH \
     SHIPWRIGHT_PERL=$BASE_DIR/perl \
     PERL5LIB=${BASE_DIR}/../lib/perl5/site_perl:${BASE_DIR}/../lib/perl5:${PERL5LIB}\
         LD_LIBRARY_PATH=${BASE_DIR}/../lib:${LD_LIBRARY_PATH}\

Modified: Shipwright/trunk/share/etc/shipwright-script-wrapper
==============================================================================
--- Shipwright/trunk/share/etc/shipwright-script-wrapper	(original)
+++ Shipwright/trunk/share/etc/shipwright-script-wrapper	Fri Jul 18 20:22:04 2008
@@ -12,6 +12,7 @@
     BASE_DIR=` (cd "$BASE_DIR"; pwd) `
     FILENAME=`basename "$BASE"`
     WRAPPED_DIR=`basename "$BASE_DIR"`
+    PATH=${BASE_DIR}/../sbin:${BASE_DIR}/../bin:$PATH \
     PERL5LIB=${BASE_DIR}/../lib/perl5/site_perl:${BASE_DIR}/../lib/perl5:${PERL5LIB}\
         LD_LIBRARY_PATH=${BASE_DIR}/../lib:${LD_LIBRARY_PATH}\
         DYLD_LIBRARY_PATH=${BASE_DIR}/../lib:${DYLD_LIBRARY_PATH}\

Modified: Shipwright/trunk/share/etc/shipwright-source-bash
==============================================================================
--- Shipwright/trunk/share/etc/shipwright-source-bash	(original)
+++ Shipwright/trunk/share/etc/shipwright-source-bash	Fri Jul 18 20:22:04 2008
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 if [ $# = 1 ]; then
-    export PATH=$1/bin:$PATH
+    export PATH=$1/sbin:$1/bin:$PATH
     # fix vessels which ship their own ncurses, but don't clobber $TERMINFO
     # if it's already been set
     if [ ! $TERMINFO ] && [ -d $1/share/terminfo ]; then

Modified: Shipwright/trunk/share/etc/shipwright-source-tcsh
==============================================================================
--- Shipwright/trunk/share/etc/shipwright-source-tcsh	(original)
+++ Shipwright/trunk/share/etc/shipwright-source-tcsh	Fri Jul 18 20:22:04 2008
@@ -1,6 +1,6 @@
 #!/usr/bin/env tcsh
 if ( $# == 1 ) then
-    setenv PATH $1/bin:$PATH
+    setenv PATH $1/sbin:$1/bin:$PATH
     # fix vessels which ship their own ncurses, but don't clobber $TERMINFO
     # if it's already been set
     if ( ! $?TERMINFO && -d $1/share/terminfo ) then



More information about the Bps-public-commit mailing list