Commit 75151c12 authored by Torben Barsbsballe's avatar Torben Barsbsballe
Browse files

Fix version regex in build.xml

parent 9004ab64
......@@ -37,7 +37,7 @@
<!-- extract version number -->
<property name="gs.bin.file" refid="gs.bin.path"/>
<propertyregex property="gs.version" input="${gs.bin.file}"
regexp="mac/geoserver-(.*)" select="\1"/>
regexp="mac/geoserver-([^/]*)" select="\1"/>
<fail unless="gs.version"
message="Unable to determine GeoServer version number from bin file."/>
......@@ -117,4 +117,4 @@
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment