Skip to content

Commit

Permalink
8055772: get_source.sh : version check assumes English localization
Browse files Browse the repository at this point in the history
Reviewed-by: mduigou, tbell
  • Loading branch information
bitterfox authored and Mike Duigou committed Aug 21, 2014
1 parent 1758f89 commit f44d1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_source.sh
Expand Up @@ -67,7 +67,7 @@ if [ "x$hgwhere" = "x" ]; then
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
Expand Down

0 comments on commit f44d1a0

Please sign in to comment.