summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-04-15 15:39:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:38 -0500
commit6cc85bbe728421df9c3f21e1676789eca6814420 (patch)
tree307d686da03755d6a45dead1aeb266f3c79ceb60 /source3/script
parentd3d6126d94d55a69c45b2f7a63a7fa9b561baf48 (diff)
downloadsamba-6cc85bbe728421df9c3f21e1676789eca6814420.tar.gz
samba-6cc85bbe728421df9c3f21e1676789eca6814420.tar.bz2
samba-6cc85bbe728421df9c3f21e1676789eca6814420.zip
r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands metze (This used to be commit 6b84f30e3d746a13613d94071501430fef8ee2ca)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/mkversion.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/script/mkversion.sh b/source3/script/mkversion.sh
index 492ecaade2..6f49108aba 100755
--- a/source3/script/mkversion.sh
+++ b/source3/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