This commit is contained in:
parent
f894128222
commit
e6defc95df
@ -99,14 +99,14 @@
|
||||
// if the input stream doesn't support mark/reset ability, we wrap it in a
|
||||
// stream that adds that support.
|
||||
--- apache-ant-1.10.14/src/main/org/apache/tools/zip/ZipOutputStream.java 2024-07-22 09:18:51.405562831 +0200
|
||||
+++ apache-ant-1.10.14/src/main/org/apache/tools/zip/ZipOutputStream.java 2024-07-22 09:52:51.014150215 +0200
|
||||
+++ apache-ant-1.10.14/src/main/org/apache/tools/zip/ZipOutputStream.java 2024-07-22 10:00:20.874193063 +0200
|
||||
@@ -791,6 +791,9 @@
|
||||
|
||||
if (entry.getTime() == -1) { // not specified
|
||||
entry.setTime(System.currentTimeMillis());
|
||||
+ if ( System.getenv("SOURCE_DATE_EPOCH") != null ) {
|
||||
+ entry.setTime(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
|
||||
+ {
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user