Fix previous patch for OS X (#961)

Use posix version of sed that is available on all
platforms.

No functional change.
This commit is contained in:
Marco Costalba
2017-01-09 15:37:09 +01:00
committed by GitHub
parent 394e9cd892
commit d9dd520896
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ script:
# checking bench for various build types
#
# obtain reference from git log
- git log | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed -rn "s/[^0-9]*([0-9]+)/\1/p" > git_sig
- git log | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9][0-9]*\)/\1/g" > git_sig
- export benchref=$(cat git_sig)
- echo "Reference bench:" $benchref
# verify against reference