[U-Boot] [PATCH] tools: fixed svn revision l10n-ism

1 Jun
2011
1 Jun
'11
5:02 p.m.
Fixed a l10n-ism in svn revision retrieval.
Signed-off-by: Stephane Fillod fillods@users.sf.net ---
--- a/tools/setlocalversion +++ b/tools/setlocalversion @@ -31,7 +31,7 @@ fi
# Check for svn and a svn repo. -if rev=`svn info 2>/dev/null` ; then +if rev=`LANG=C svn info 2>/dev/null` ; then rev=`echo "${rev}" | grep '^Revision' | awk '{print $NF}'` printf -- '-svn%s' $rev fi

1 Jun
1 Jun
5:19 p.m.
On Wednesday, June 01, 2011 11:02:30 Stephane Fillod wrote:
-if rev=`svn info 2>/dev/null` ; then +if rev=`LANG=C svn info 2>/dev/null` ; then rev=`echo "${rev}" | grep '^Revision' | awk '{print $NF}'`
LANG=C wont fix the bug, just make it work in more cases. you need LC_ALL=C. -mike
5088
Age (days ago)
5088
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mike Frysinger
-
Stephane Fillod