mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8055772: get_source.sh : version check assumes English localization
Reviewed-by: mduigou, tbell
This commit is contained in:
parent
74d5ddea1a
commit
dd9ba70d42
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue