depot/third_party/nixpkgs/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

14 lines
565 B
Diff

diff --git a/build.xml b/build.xml
index fcc4931..2afeb6c 100644
--- a/build.xml
+++ b/build.xml
@@ -345,6 +345,9 @@
<entry key="HDF5_VERSION" value="${hdf5.version}"/>
<entry key="HDFVIEW_VERSION" value="${app.version}"/>
</propertyfile>
+ <exec executable="sed" failonerror="true">
+ <arg line="-i /#/d ${classes.dir}/hdf/versions.properties" />
+ </exec>
</target>
<target name="compile" depends="clean, create-property-file, compileobj, compilehdf4, compilefits, compilenc2, compilehdf5">