mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
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:
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/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
|
BRANCH=0
|
||||||
TEAM=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" ]
|
if [ "${PARTS}" = "trunk" ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user