git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441cff6
)
r6353: we need the english output from the svn commands
author
Stefan Metzmacher
<metze@samba.org>
Fri, 15 Apr 2005 15:36:53 +0000
(15:36 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:11:34 +0000
(13:11 -0500)
metze
source/script/mkversion.sh
patch
|
blob
|
history
diff --git
a/source/script/mkversion.sh
b/source/script/mkversion.sh
index 492ecaade2a25520503e2976669a1f70de64e923..6f49108aba0f03c8af6e120d7f00216620eb07c6 100755
(executable)
--- a/
source/script/mkversion.sh
+++ b/
source/script/mkversion.sh
@@
-46,6
+46,8
@@
fi
if test x"${SAMBA_VERSION_IS_SVN_SNAPSHOT}" = x"yes";then
+ _SAVE_LANG=${LANG}
+ LANG=""
HAVESVN=no
svn info ${SOURCE_DIR} >/dev/null 2>&1 && HAVESVN=yes
TMP_REVISION=`(svn info ${SOURCE_DIR} 2>/dev/null || svk info ${SOURCE_DIR} 2>/dev/null) |grep 'Last Changed Rev.*:' |sed -e 's/Last Changed Rev.*: \([0-9]*\).*/\1/'`
@@
-63,6
+65,7
@@
if test x"${SAMBA_VERSION_IS_SVN_SNAPSHOT}" = x"yes";then
else
SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}-SVN-build-UNKNOWN"
fi
+ LANG=${_SAVE_LANG}
fi
if test -n "${SAMBA_VERSION_VENDOR_SUFFIX}";then