diff --git a/scripts/install.sh b/scripts/install.sh index 06befe390..e3c8077ee 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -163,7 +163,7 @@ endTime=`date +%s` ((outTime=(${endTime}-${startTime})/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" -} 1> >(tee /var/logs/mw-install.log) 2>&1 +} 1> >(tee mw-install.log) 2>&1 echo -e "\nInstall completed. If error occurs, please contact us with the log file mw-install.log ." echo "安装完毕,如果出现错误,请带上同目录下的安装日志 mw-install.log 联系我们反馈." \ No newline at end of file diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index e2fbd25ab..04a99033e 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -160,7 +160,7 @@ endTime=`date +%s` ((outTime=(${endTime}-${startTime})/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" -} 1> >(tee /var/logs/mw-install.log) 2>&1 +} 1> >(tee mw-install.log) 2>&1 echo -e "\nInstall completed. If error occurs, please contact us with the log file mw-install.log ." echo "安装完毕,如果出现错误,请带上同目录下的安装日志 mw-install.log 联系我们反馈." \ No newline at end of file diff --git a/scripts/update.sh b/scripts/update.sh index fee1eeaea..bd20683a7 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -108,4 +108,4 @@ endTime=`date +%s` ((outTime=($endTime-$startTime)/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" -} 1> >(tee /var/logs/mw-update.log) 2>&1 \ No newline at end of file +} 1> >(tee mw-update.log) 2>&1 \ No newline at end of file diff --git a/scripts/update_dev.sh b/scripts/update_dev.sh index 476929d1e..2ba251abc 100755 --- a/scripts/update_dev.sh +++ b/scripts/update_dev.sh @@ -119,4 +119,4 @@ endTime=`date +%s` ((outTime=($endTime-$startTime)/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" -} 1>/var/logs/mw-update.log >(tee /var/logs/mw-update.log) 2>&1 \ No newline at end of file +} 1> >(tee mw-update.log) 2>&1 \ No newline at end of file