Changeset 40ce1f0 in git


Ignore:
Timestamp:
2012-07-22T04:41:05Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
4064549
Parents:
bc813c7
Message:

devel: take command line args first

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/run

    rbc813c7 r40ce1f0  
    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
Note: See TracChangeset for help on using the changeset viewer.