##// END OF EJS Templates
packagelib: use LANGUAGE=C for "hg version"...
Toshi MARUYAMA -
r32777:9dccaff0 default
parent child Browse files
Show More
@@ -14,7 +14,7 b' gethgversion() {'
14
14
15 $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
15 $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; }
16
16
17 hgversion=`$HG version | sed -ne 's/.*(version \(.*\))$/\1/p'`
17 hgversion=`LANGUAGE=C $HG version | sed -ne 's/.*(version \(.*\))$/\1/p'`
18
18
19 if echo $hgversion | grep + > /dev/null 2>&1 ; then
19 if echo $hgversion | grep + > /dev/null 2>&1 ; then
20 tmp=`echo $hgversion | cut -d+ -f 2`
20 tmp=`echo $hgversion | cut -d+ -f 2`
General Comments 0
You need to be logged in to leave comments. Login now