Improve pattern

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2015-06-11 08:23:58 +00:00
parent 307fb6e19b
commit 9756d6f948
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@
<!-- If possible, include the svnversion -->
<exec dir="." executable="${svnversion.exe}" outputproperty="-svnversion-raw" failifexecutionfails="false"/>
<condition property="svnversion" value="${-svnversion-raw}" else="unknown">
<matches pattern="[\d:MSP]+" string="${-svnversion-raw}" casesensitive="true"/>
<matches pattern="^\s*[\d:MSP]+\s*$" string="${-svnversion-raw}" casesensitive="true"/>
</condition>
<manifest file="@{manifest.file}">