adjust regex to handle file/$version on download page

This commit is contained in:
kytv
2013-02-14 14:32:50 +00:00
parent 38a7f98e5f
commit f3acd2a443

View File

@ -1372,6 +1372,11 @@ exec java -d64 -XstartOnFirstThread -cp $CP syndie.gui.SWTUI
match="\([0-9]{4}/[0-9]{2}/[0-9]{2}\)"
replace="(${files.date})">
</replaceregexp>
<replaceregexp flags="g" byline="false" file="doc/web/download.html">
<regexp pattern="files/(:?.*)?/syndie"/>
<substitution expression="files/${release.number}/syndie" />
</replaceregexp>
<echo>Release date set to ${files.date}. Edit doc/web/index.html is this is incorrect.</echo>
</target>