mirror of https://github.com/apache/lucene.git
Use better format for md5sum/sha1 sum on package build (binary files should have * before file name). The format attribute does that automatically.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a92e6e8240
commit
f011f59fe2
|
@ -683,15 +683,12 @@
|
||||||
<fail if="contribs.failed">Contrib tests failed!</fail>
|
<fail if="contribs.failed">Contrib tests failed!</fail>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Macro for building checksum files
|
<!-- Macro for building checksum files -->
|
||||||
This is only needed until the "format" option is supported
|
|
||||||
by ant's built in checksum task
|
|
||||||
-->
|
|
||||||
<macrodef name="lucene-checksum">
|
<macrodef name="lucene-checksum">
|
||||||
<attribute name="file"/>
|
<attribute name="file"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
<checksum file="@{file}" algorithm="md5" pattern="{0} {1}" forceoverwrite="yes" readbuffersize="65536"/>
|
<checksum file="@{file}" algorithm="md5" format="MD5SUM" forceoverwrite="yes" readbuffersize="65536"/>
|
||||||
<checksum file="@{file}" algorithm="sha1" pattern="{0} {1}" forceoverwrite="yes" readbuffersize="65536"/>
|
<checksum file="@{file}" algorithm="sha1" format="MD5SUM" forceoverwrite="yes" readbuffersize="65536"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue