Changeset 3629

Show
Ignore:
Timestamp:
03/18/09 08:46:56 (12 months ago)
Author:
kris
Message:

Updated runports.sh, now you can pass arguments to it, which are executed in the /usr/local LOCALBASE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/system-overlay/PCBSD/Scripts/runports.sh

    r3596 r3629  
    55setenv PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/kde4/bin"                                                        
    66unsetenv LD_ELF_HINTS_PATH 
     7 
     8# Check if we have an argument to process 
     9if ( $1 != "" ) then 
     10 exec $*  
     11else # No argument, so bring up a prompt 
    712 
    813alias h         history 2 
     
    3136 
    3237/bin/tcsh -f 
     38 
     39endif # end of check if we have $1