mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
setlocalversion: fix svn revision l10n-ism
Fixed an l10n-ism in retrieval of the svn revision. Signed-off-by: Stephane Fillod <fillods@users.sf.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
99ead3c2ea
commit
cff599de08
@ -56,9 +56,9 @@ if hgid=`hg id 2>/dev/null`; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for svn and a svn repo.
|
# Check for svn and a svn repo.
|
||||||
if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
|
if rev=`LANG=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
|
||||||
rev=`echo $rev | awk '{print $NF}'`
|
rev=`echo $rev | awk '{print $NF}'`
|
||||||
changes=`svn status 2>/dev/null | grep '^[AMD]' | wc -l`
|
changes=`LANG=C svn status 2>/dev/null | grep '^[AMD]' | wc -l`
|
||||||
|
|
||||||
# Are there uncommitted changes?
|
# Are there uncommitted changes?
|
||||||
if [ $changes != 0 ]; then
|
if [ $changes != 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user