From 5741dbb78cc501e6aa0e0bdcbe049591eac0ffd8 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 30 Sep 2022 15:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96task=5Fbefo?= =?UTF-8?q?re=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/task.sh b/shell/task.sh index 7d402026..96a6150f 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -163,7 +163,7 @@ run_normal() { random_delay "$file_param" fi - handle_task_before + handle_task_before "$@" cd $dir_scripts local relative_path="${file_param%/*}" @@ -192,7 +192,7 @@ run_concurrent() { exit 1 fi - handle_task_before + handle_task_before "$@" local envs=$(eval echo "\$${env_param}") local array=($(echo $envs | sed 's/&/ /g')) @@ -249,7 +249,7 @@ run_designated() { exit 1 fi - handle_task_before + handle_task_before "$@" local envs=$(eval echo "\$${env_param}") local array=($(echo $envs | sed 's/&/ /g')) @@ -286,7 +286,7 @@ run_designated() { run_else() { local file_param="$1" - handle_task_before + handle_task_before "$@" cd $dir_scripts local relative_path="${file_param%/*}"