Print total compile time at end of build #2

Closed
iamdoubz wants to merge 1 commits from build-script-logging into free
pull from: build-script-logging
+1
View File
@@ -248,4 +248,5 @@ run make -j "$JOBS"
echo
echo "Log: $LOG"
echo "Install: cd $SRC && sudo make install"
printf 'Total compile time: %dm %02ds\n' $((SECONDS / 60)) $((SECONDS % 60))
} | tee -a "$LOG"