Thu, 21 Aug 2014 10:22:52 -0700
8055772: get_source.sh : version check assumes English localization
Reviewed-by: mduigou, tbell
Contributed-by: bitterfoxc@gmail.com
get_source.sh | file | annotate | diff | comparison | revisions |
1.1 --- a/get_source.sh Tue Apr 26 13:27:51 2016 -0700 1.2 +++ b/get_source.sh Thu Aug 21 10:22:52 2014 -0700 1.3 @@ -67,7 +67,7 @@ 1.4 error "Could not locate Mercurial command" 1.5 fi 1.6 1.7 -hgversion="`hg --version 2> /dev/null | sed -n -e 's@^Mercurial Distributed SCM (version \([^+]*\).*)\$@\1@p'`" 1.8 +hgversion="`LANGUAGE=en hg --version 2> /dev/null | sed -n -e 's@^Mercurial Distributed SCM (version \([^+]*\).*)\$@\1@p'`" 1.9 if [ "x${hgversion}" = "x" ] ; then 1.10 error "Could not determine Mercurial version of $hgwhere" 1.11 fi