Skip to content

Apache Lucene open-source search software

SHA1 calculation will delete all SHA1 files and recreate them with consistent EOLs.

Dawid Weissaec9ccdfb994
diff --git a/build.xml b/build.xml
index 0b68054a80b..c589347af64 100644
--- a/build.xml
+++ b/build.xml
@@ -164,10 +164,21 @@
</target>
<target name="jar-checksums" description="Recompute SHA1 checksums for all JAR files.">
+ <delete>
+ <fileset dir="${basedir}">
+ <include name="**/*.jar.sha1"/>
+ </fileset>
+ </delete>
+
<checksum algorithm="SHA1" fileext=".sha1">
<fileset dir="${basedir}">
<include name="**/*.jar"/>
</fileset>
</checksum>
+
+ <fixcrlf
+ srcdir="${basedir}"
+ includes="**/*.jar.sha1"
+ eol="lf" fixlast="true" encoding="US-ASCII" />
</target>
</project>