ensure that 'svn info' output is in the expected language for the script to parse (issue #5880)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-12-01 19:25:06 +00:00
parent 0a4d7e5068
commit 0d8f099ca2

View File

@@ -1,10 +1,10 @@
#!/bin/sh
PARTS=`svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/asterisk/:: | sed -e 's:/: :'`
PARTS=`LANG=C svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/asterisk/:: | sed -e 's:/: :'`
BRANCH=0
TEAM=0
REV=`svn info | grep -e 'Last Changed Rev' | awk '{print $4;}'`
REV=`LANG=C svn info | grep -e 'Last Changed Rev' | awk '{print $4;}'`
if [ "${PARTS}" = "trunk" ]
then