Enclose the tr parameters in quotes.

Without quotes will work in most shells but in some configurations it will fail.
This commit is contained in:
kytv
2011-12-11 12:19:39 +00:00
parent 5f81e923ca
commit f8a3afd672

View File

@@ -274,7 +274,7 @@
<!-- \n in an attribute value generates an invalid manifest --> <!-- \n in an attribute value generates an invalid manifest -->
<exec executable="tr" inputstring="${workspace.changes.jbigi}" outputproperty="workspace.changes.jbigi.tr" errorproperty="mtn.error2" failifexecutionfails="false" > <exec executable="tr" inputstring="${workspace.changes.jbigi}" outputproperty="workspace.changes.jbigi.tr" errorproperty="mtn.error2" failifexecutionfails="false" >
<arg value="-s" /> <arg value="-s" />
<arg value="[:space:]" /> <arg value="&quot;[:space:]&quot;" />
<arg value="," /> <arg value="," />
</exec> </exec>
</target> </target>
@@ -462,7 +462,7 @@
</exec> </exec>
<exec executable="tr" inputstring="${build.temp}" outputproperty="build.temp.tr" failonerror="true"> <exec executable="tr" inputstring="${build.temp}" outputproperty="build.temp.tr" failonerror="true">
<arg value="-d" /> <arg value="-d" />
<arg value="[:space:]"/> <arg value="&quot;[:space:]&quot;"/>
</exec> </exec>
<exec executable="cut" inputstring="${build.temp.tr}" outputproperty="build.number" failonerror="true" > <exec executable="cut" inputstring="${build.temp.tr}" outputproperty="build.number" failonerror="true" >
<arg value="-f1" /> <arg value="-f1" />