ports/lang/go14/files/patch-test__bench__shootout__timing.sh
Julien Laffaye ae3e605fa3 Copy lang/go to lang/go14
Go 1.4 is the last Go release with its toolchain written in C.
Keep Go 1.4 arround to bootstrap future versions.

While I'm here, lift the restriction for armv6.
2015-08-20 20:28:56 +00:00

11 lines
356 B
Bash

--- ./test/bench/shootout/timing.sh.orig 2013-06-09 23:33:01.405924747 +1000
+++ ./test/bench/shootout/timing.sh 2013-06-09 23:33:16.526347653 +1000
@@ -81,7 +81,7 @@
$1
shift
- echo $((time -p $* >/dev/null) 2>&1) | awk '{print $4 "u " $6 "s " $2 "r"}'
+ echo $( (time -p $* >/dev/null) 2>&1) | awk '{print $4 "u " $6 "s " $2 "r"}'
}
fasta() {