diff --git a/tools/dashboard b/tools/dashboard index fa1877fa8..76123ebce 100755 --- a/tools/dashboard +++ b/tools/dashboard @@ -6,18 +6,17 @@ ### A simple loop to watch the status of any active builds. ### -DELAY=${1:-5} +DELAY=${1:-10} while true do + clear ACTIVE=$(find build*/.threads -name status -mmin -5 -printf "%T@ %p\n" | sort -n | awk 'END {print $NF}') if [ "${ACTIVE}" ] then - clear cat ${ACTIVE} sleep ${DELAY} else echo -e "\nThere are no active builds available to view." - exit 1 fi done