changeset 18327 | 1ee4523c831f |
parent 18322 | 56554bb23eda |
child 18364 | a716d3b289ed |
1.1 --- a/lib/scripts/timestart.bash Thu Dec 01 22:03:05 2005 +0100 1.2 +++ b/lib/scripts/timestart.bash Thu Dec 01 22:03:06 2005 +0100 1.3 @@ -14,7 +14,7 @@ 1.4 local TMP="/tmp/get_times$$" 1.5 times > "$TMP" # No pipe here! 1.6 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')" 1.7 - /bin/rm -f "$TMP" 1.8 + rm -f "$TMP" 1.9 } 1.10 1.11 get_times # sets TIMES_RESULT