author | wenzelm |
Thu, 01 Dec 2005 22:03:06 +0100 | |
changeset 18327 | 1ee4523c831f |
parent 18326 | 2f57579e618f |
child 18328 | 841261f303a1 |
--- a/lib/scripts/timestart.bash Thu Dec 01 22:03:05 2005 +0100 +++ b/lib/scripts/timestart.bash Thu Dec 01 22:03:06 2005 +0100 @@ -14,7 +14,7 @@ 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 +(\d+)m(\d+)\.\d+s, $1 * 60 + $2 + $3 * 60 + $4,e')" - /bin/rm -f "$TMP" + rm -f "$TMP" } get_times # sets TIMES_RESULT