提交 d3d89696 编写于 作者: M mduigou

8055772: get_source.sh : version check assumes English localization

Reviewed-by: mduigou, tbell
Contributed-by: bitterfoxc@gmail.com
上级 33ecbda3
...@@ -67,7 +67,7 @@ if [ "x$hgwhere" = "x" ]; then ...@@ -67,7 +67,7 @@ if [ "x$hgwhere" = "x" ]; then
error "Could not locate Mercurial command" error "Could not locate Mercurial command"
fi 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 if [ "x${hgversion}" = "x" ] ; then
error "Could not determine Mercurial version of $hgwhere" error "Could not determine Mercurial version of $hgwhere"
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册