summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-19 21:57:15 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-19 21:57:15 (GMT)
commit9f024cff7329b306c8a46a9e8893c996e9f31391 (patch)
tree4ea14f600fa89982aea4358ad51317bf3fb78dee
parent0220ee175b4af2aa0de00eed902c45792bb30988 (diff)
Backport #676 from trunk:
./configure expects message to be in the C locale, so force that. /branches/1.1/configure | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 98ba38d..308d9ca 100755
--- a/configure
+++ b/configure
@@ -125,13 +125,13 @@ fi
# If we can't get the revision number, use date
case "${VERSION}" in
*+svn)
- REVISION=$(svnversion)
+ REVISION=$(LC_ALL=C svnversion)
case "${REVISION}" in
exported)
VERSION="${VERSION}:unknown@$(date +%Y%m%d.%H%M%S)";;
*)
- URL=$(LANG=C svn info 2>/dev/null |egrep 'URL: ' |cut -d ' ' -f 2-)
- ROOT=$(LANG=C svn info 2>/dev/null |egrep 'Repository Root: ' |cut -d ' ' -f 3-)
+ URL=$(LC_ALL=C svn info 2>/dev/null |egrep 'URL: ' |cut -d ' ' -f 2-)
+ ROOT=$(LC_ALL=C svn info 2>/dev/null |egrep 'Repository Root: ' |cut -d ' ' -f 3-)
VERSION="${VERSION}:${URL#${ROOT}}@${REVISION}"
;;
esac