mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
修复task命令参数
This commit is contained in:
parent
3c5c5b0bbc
commit
4272b9ea35
|
@ -72,8 +72,8 @@ done
|
||||||
[[ "$show_log" == "true" ]] && shift $(($OPTIND - 1))
|
[[ "$show_log" == "true" ]] && shift $(($OPTIND - 1))
|
||||||
|
|
||||||
format_params "$@"
|
format_params "$@"
|
||||||
define_program "$params"
|
define_program "$@"
|
||||||
handle_log_path "$params"
|
handle_log_path "$@"
|
||||||
|
|
||||||
eval . $dir_shell/otask.sh "$params" "$cmd"
|
eval . $dir_shell/otask.sh "$params" "$cmd"
|
||||||
[[ -f "$dir_log/$log_path" ]] && cat "$dir_log/$log_path"
|
[[ -f "$dir_log/$log_path" ]] && cat "$dir_log/$log_path"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user