Merge pull request #755 from Zahnstocher/patch-1

Don't match space, since it deletes properties
This commit is contained in:
vshcherb 2014-07-16 20:05:11 +02:00
commit 1eed642ceb

View file

@ -78,7 +78,7 @@
<then>
<property name="package.name" value="net.osmand.sherpafy" />
<property name="app.name" value="Sherpafy" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/(.*)"' replace='"@drawable/icon_sherpafy"' byline="true" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/([^\s]*)"' replace='"@drawable/icon_sherpafy"' byline="true" />
</then>
</if>
<if>
@ -88,7 +88,7 @@
<then>
<property name="package.name" value="net.osmand" />
<property name="app.name" value="OsmAnd" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/(.*)"' replace='"@drawable/icon_free"' byline="true" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/([^\s]*)"' replace='"@drawable/icon_free"' byline="true" />
</then>
</if>
<if>
@ -98,7 +98,7 @@
<then>
<property name="package.name" value="net.osmand.plus" />
<property name="app.name" value="OsmAnd+" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/(.*)"' replace='"@drawable/icon"' byline="true" />
<replaceregexp file="AndroidManifest.xml" match='"@drawable/([^\s]*)"' replace='"@drawable/icon"' byline="true" />
</then>
</if>
<if>