diff --git a/scripts/install.sh b/scripts/install.sh index 811cd97cd..71b3db9ce 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -18,7 +18,7 @@ if [ "$EUID" -ne 0 ] exit fi - +{ if [ ${_os} == "Darwin" ]; then OSNAME='macos' @@ -137,3 +137,4 @@ endTime=`date +%s` ((outTime=(${endTime}-${startTime})/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" +} 1> >(tee mw-install.log) 2>&1 \ No newline at end of file