Changeset 1002 for trunk/devel/run


Ignore:
Timestamp:
2012-07-19T06:33:19+02:00 (21 months ago)
Author:
moo
Message:

refactor: default args for run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r998 r1002  
    4444    shift 
    4545 
    46     if [[ ! -z $1 ]]; then 
    47         args=("$@") 
    48     elif [[ -z $args ]]; then 
    49         args=(devel.php) 
    50     fi 
     46    args=("$@") 
     47fi 
     48 
     49if [[ -z ${args[0]} ]]; then 
     50    args=(devel.php) 
    5151fi 
    5252 
Note: See TracChangeset for help on using the changeset viewer.