lib/scripts/timestart.bash
changeset 26576 fc76b7b79ba9
parent 18364 a716d3b289ed
child 29145 b1c6f4563df7
--- a/lib/scripts/timestart.bash	Tue Apr 08 15:47:05 2008 +0200
+++ b/lib/scripts/timestart.bash	Tue Apr 08 15:47:10 2008 +0200
@@ -7,13 +7,10 @@
 
 TIMES_RESULT=""
 
-#set by configure
-AUTO_PERL=perl
-
 function get_times () {
   local TMP="/tmp/get_times$$"
   times > "$TMP"   # No pipe here!
-  TIMES_RESULT="$SECONDS $(echo $(cat "$TMP") | "$AUTO_PERL" -pe 's,\d+m\d+\.\d+s \d+m\d+\.\d+s (\d+)m(\d+)\.\d+s +(\d+)m(\d+)\.\d+s, $1 * 60 + $2 + $3 * 60 + $4,e')"
+  TIMES_RESULT="$SECONDS $(echo $(cat "$TMP") | perl -pe 's,\d+m\d+\.\d+s \d+m\d+\.\d+s (\d+)m(\d+)\.\d+s +(\d+)m(\d+)\.\d+s, $1 * 60 + $2 + $3 * 60 + $4,e')"
   rm -f "$TMP"
 }