be more tolerant of svnversion's output
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5863 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
da871faab8
commit
f263205894
|
@ -232,9 +232,10 @@ INITIALISATION
|
|||
<echo level="verbose">svn.version=${svn.version}</echo>
|
||||
<propertyregex property="version"
|
||||
input="${svn.version}"
|
||||
regexp="\.*([0-9]*)\.*"
|
||||
select="\1"/>
|
||||
regexp="([0-9]*:)?([0-9]*)\.*"
|
||||
select="\2"/>
|
||||
<property name="version.number" value="2.0.${version}"/>
|
||||
<echo level="verbose">version.number=${version.number}</echo>
|
||||
<property name="dist.current.dir"
|
||||
value="${dist.dir}/${dist.name}-${version.number}"/>
|
||||
<property name="init.avail" value="yes"/>
|
||||
|
|
Loading…
Reference in New Issue