for some reason, svn messages do not have space at the same place for french locales

and C locales :

[misc@takara rpmlint] $ svn info . | grep URL
URL : svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk
[misc@takara rpmlint] $ LC_ALL=C svn info . | grep URL
URL: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk

(note 'URL:' vs 'URL :')

so, running make tag do not work on my computer, using sed instead of cut did the trick.



git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1140 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Michael Scherer 2006-04-10 15:01:57 +00:00 committed by Ville Skyttä
parent 6116162d86
commit b803c679b6
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ PACKAGE=rpmlint
# update this variable to create a new release
VERSION := 0.76
TAG := $(shell echo "V$(VERSION)" | tr -- '-.' '__')
SVNBASE = $(shell svn info . | grep URL | cut -d ' ' -f 2 | sed -e 's,/\(trunk\|tags/.\+\)$$,,')
SVNBASE = $(shell svn info . | grep URL | sed -e 's/[^:]*:\s*//' -e 's,/\(trunk\|tags/.\+\)$$,,')
# for the [A-Z]* part
LC_ALL:=C