This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MASSEMBLY-941
in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git


The following commit(s) were added to refs/heads/MASSEMBLY-941 by this push:
     new 73ae5c9f [MASSEMBLY-941] drop time because it's DOS time, without 
timezone and DST
73ae5c9f is described below

commit 73ae5c9f6d5cebcb1b965a94631b6a330bb93c59
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Nov 13 10:20:51 2022 +0100

    [MASSEMBLY-941] drop time because it's DOS time, without timezone and DST
---
 src/it/projects/reproducible/verify.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/it/projects/reproducible/verify.groovy 
b/src/it/projects/reproducible/verify.groovy
index 23693002..d4684bb1 100644
--- a/src/it/projects/reproducible/verify.groovy
+++ b/src/it/projects/reproducible/verify.groovy
@@ -29,7 +29,7 @@ ZipFile zip = new ZipFile( new File( deployDir, 
"reproducible-1.0-src.zip" ) )
 StringBuilder sb = new StringBuilder()
 for( ZipArchiveEntry entry : zip.getEntries() )
 {
-    sb.append( String.format("%d %o %s\n", entry.getTime(), 
entry.getUnixMode(), entry.getName() ) )
+    sb.append( String.format("%o %s\n", entry.getUnixMode(), entry.getName() ) 
)
 }
 
 content = new File( basedir, "zip-content.txt" ).text.replace( "\r\n", "\n" )

Reply via email to