Browse Source

devel: take command line args first

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1025 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
40ce1f0d4e
  1. 8
      devel/run

8
devel/run

@ -89,13 +89,13 @@ xcachesrcdir=../$xcachebasename
if [[ $# -gt 0 ]]; then
type=$1
shift
if [[ $# -gt 0 ]]; then
args=("$@")
fi
fi
if [[ -z ${args[0]} ]]; then
args=("$@")
if [[ -z ${args[0]} ]]; then
args=(devel.php)
fi
args=(devel.php)
fi
case "$type" in

Loading…
Cancel
Save