Commits

Zhang Huangbin  committed fb08062

Print time of ports compiling directly, not just log in .status.

  • Participants
  • Parent commits 59c414f

Comments (0)

Files changed (1)

File iRedMail/functions/packages_freebsd.sh

         fi
     done
 
-    # Log used time
+    # Log and print used time
     all_used_time="$(($(date +%s)-start_time))"
-    echo "# Total time: ${all_used_time} seconds, about $((all_used_time/60)) minutes" >> ${STATUS_FILE}
+    ECHO_INFO "Total time of ports compiling: ${all_used_time} seconds (~ $((all_used_time/60)) minutes)"
 
     echo 'export status_install_all="DONE"' >> ${STATUS_FILE}
 }