Changeset dd7e016 in git


Ignore:
Timestamp:
2012-07-19T04:33:19Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
5c0dfec
Parents:
5ee1a11
Message:

refactor: default args for run

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1002 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/run

    r4e78a9d rdd7e016  
    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.