Changeset 1025

Show
Ignore:
Timestamp:
07/22/2012 06:41:05 AM (10 months ago)
Author:
moo
Message:

devel: take command line args first

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1024 r1025  
    9090    type=$1 
    9191    shift 
     92    if [[ $# -gt 0 ]]; then 
     93        args=("$@") 
     94    fi 
    9295fi 
    9396 
    9497if [[ -z ${args[0]} ]]; then 
    95     args=("$@") 
    96     if [[ -z ${args[0]} ]]; then 
    97         args=(devel.php) 
    98     fi 
     98    args=(devel.php) 
    9999fi 
    100100