From fdd6e66321ae6defe3db3cb1dea26809aaef30e7 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 15 Jan 2016 15:09:51 +0100 Subject: [PATCH] tools/impact: Set locale to C at the beginning Without this, shell's printf is unreliable. For example, on OSX with cs_CZ.UTF-8 locale it complained about number formatting: tools/impact: line 51: printf: .0300: invalid number --- tools/impact | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/impact b/tools/impact index 80ef521..9848b26 100755 --- a/tools/impact +++ b/tools/impact @@ -4,6 +4,7 @@ # speed and size. Makes sense to use only on PEG.js Git repository checkout. set -e +export LC_ALL=C # Measurement