提交 ef046788 编写于 作者: L LDOUBLEV

rename save_log

上级 95ae3c19
...@@ -34,11 +34,11 @@ function status_check(){ ...@@ -34,11 +34,11 @@ function status_check(){
last_status=$1 # the exit code last_status=$1 # the exit code
run_model=$2 run_model=$2
run_command=$3 run_command=$3
save_log=$4 run_log=$4
if [ $last_status -eq 0 ]; then 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 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 fi
} }
IFS='|' IFS='|'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册