From f2632058941233aeb59ca0080bac970fe7922bec Mon Sep 17 00:00:00 2001 From: spoon Date: Mon, 27 Feb 2006 16:38:50 +0000 Subject: [PATCH] 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 --- build.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 8e47aa561..622a54de5 100644 --- a/build.xml +++ b/build.xml @@ -232,9 +232,10 @@ INITIALISATION svn.version=${svn.version} + regexp="([0-9]*:)?([0-9]*)\.*" + select="\2"/> + version.number=${version.number}