1
0
Fork 0

refactor: default args for run

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1002 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent 5ee1a1147d
commit dd7e0168dc

@ -43,11 +43,11 @@ if [[ ! -z $1 ]]; then
type=$1
shift
if [[ ! -z $1 ]]; then
args=("$@")
elif [[ -z $args ]]; then
args=(devel.php)
fi
args=("$@")
fi
if [[ -z ${args[0]} ]]; then
args=(devel.php)
fi
case "$type" in

Loading…
Cancel
Save