From ef0467884ee44e886444fecd3743fc9d6a0ec504 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 9 Jun 2021 15:47:46 +0800 Subject: [PATCH] rename save_log --- test/infer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/infer.sh b/test/infer.sh index 9db893d3..219ba547 100644 --- a/test/infer.sh +++ b/test/infer.sh @@ -34,11 +34,11 @@ function status_check(){ last_status=$1 # the exit code run_model=$2 run_command=$3 - save_log=$4 + run_log=$4 if [ $last_status -eq 0 ]; then - echo -e "\033[33m $run_model successfully with command - ${run_command}! \033[0m" | tee -a ${save_log} + echo -e "\033[33m $run_model successfully with command - ${run_command}! \033[0m" | tee -a ${run_log} else - echo -e "\033[33m $case failed with command - ${run_command}! \033[0m" | tee -a ${save_log} + echo -e "\033[33m $case failed with command - ${run_command}! \033[0m" | tee -a ${run_log} fi } IFS='|' -- GitLab