tuned;
authorwenzelm
Thu Dec 01 22:03:06 2005 +0100 (2005-12-01)
changeset 183271ee4523c831f
parent 18326 2f57579e618f
child 18328 841261f303a1
tuned;
lib/scripts/timestart.bash
     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