--- a/lib/scripts/timestart.bash Thu Dec 01 18:41:46 2005 +0100
+++ b/lib/scripts/timestart.bash Thu Dec 01 18:44:47 2005 +0100
@@ -13,9 +13,8 @@
function get_times () {
local TMP="/tmp/get_times$$"
times > "$TMP" # No pipe here!
- TIMES_RESULT="$SECONDS $(tail -1 "$TMP" | "$AUTO_PERL" -pe 's,(\d+)m(\d+)\.\d+s, $1 * 60 + $2,ge')"
+ TIMES_RESULT="$SECONDS $(tail -1 "$TMP" | "$AUTO_PERL" -pe 's,(\d+)m(\d+)\.\d+s +(\d+)m(\d+)\.\d+s, $1 * 60 + $2 + $3 * 60 + $4,e')"
/bin/rm -f "$TMP"
}
get_times # sets TIMES_RESULT
-