1
0
Fork 0

devel: take command line args first

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1025 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent bc813c7f22
commit 40ce1f0d4e

@ -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