Replaces a use of wc.exe in resources\install\build.xml with the length Ant task as suggested by Damian Minkov.

cusax-fix
Lyubomir Marinov 15 years ago
parent 88c6451b5b
commit 2a98990fe0

@ -806,14 +806,9 @@
<arg value="${build-location}\${windows.arch}\setup.msi" />
</exec>
<echo message="Old package code is: ${old.packagecode}"/>
<exec
executable="sh"
dir="${light.dir}"
outputproperty="old.packagesize"
failonerror="true">
<arg value="-c" />
<arg value="wc --bytes &lt; '${build-location}/${windows.arch}/setup.msi'" />
</exec>
<length
file="${build-location}/${windows.arch}/setup.msi"
property="old.packagesize" />
<echo message="Old package size is: ${old.packagesize}"/>
<exec
dir="${src}/native/windows/setup"

Loading…
Cancel
Save