modified build.xml to do replace version after copying to the zip folder

This commit is contained in:
rishwanth1995 2018-03-08 17:05:40 -05:00
parent 70a3807d05
commit fe2f9ca391
2 changed files with 1 additions and 1 deletions

View File

@ -90,8 +90,8 @@
<if>
<equals arg1="${os.family}" arg2="unix"/>
<then>
<replaceregexp file="${basedir}/unix_setup.sh" match="TSK_VERSION=(.*)" replace="TSK_VERSION=${TSK_VERSION}" byline="true"/>
<copy file="${basedir}/unix_setup.sh" tofile="${zip-tmp}/${app.name}/unix_setup.sh"/>
<replaceregexp file="${zip-tmp}/${app.name}/unix_setup.sh" match="TSK_VERSION=(.*)" replace="TSK_VERSION=${TSK_VERSION}" byline="true"/>
</then>
</if>
<if>

0
unix_setup.sh Normal file → Executable file
View File