# HG changeset patch # User mduigou # Date 1408641772 25200 # Node ID abafc84654a6200bf6f8a1ec0a00f9ccebb423b6 # Parent 44d21ca8907ed53699c9049579fc99e8ff09cd8d 8055772: get_source.sh : version check assumes English localization Reviewed-by: mduigou, tbell Contributed-by: bitterfoxc@gmail.com diff -r 44d21ca8907e -r abafc84654a6 get_source.sh --- a/get_source.sh Tue Apr 26 13:27:51 2016 -0700 +++ b/get_source.sh Thu Aug 21 10:22:52 2014 -0700 @@ -67,7 +67,7 @@ error "Could not locate Mercurial command" fi -hgversion="`hg --version 2> /dev/null | sed -n -e 's@^Mercurial Distributed SCM (version \([^+]*\).*)\$@\1@p'`" +hgversion="`LANGUAGE=en hg --version 2> /dev/null | sed -n -e 's@^Mercurial Distributed SCM (version \([^+]*\).*)\$@\1@p'`" if [ "x${hgversion}" = "x" ] ; then error "Could not determine Mercurial version of $hgwhere" fi