ASSI via Cygwin-apps wrote:
Christian Franke via Cygwin-apps writes:
If binutils, gzip and tar also would support this, the patch would be
empty :-)
GZip has -n though ...

For gzip I decided to keep the timestamp and use (the GNU version of) touch instead.


and GNU tar --mtime and --clamp-mtime, so why not use
that?

Already done:

+    if [ -n "${SOURCE_DATE_EPOCH}" ]
+    then
+        # Ensure reproducible sort order and last modification times <= SOURCE_DATE_EPOCH +        TAR_SOURCE_DATE_OPTS="--sort=name --mtime=@${SOURCE_DATE_EPOCH} --clamp-mtime"
+    fi


:-)

--
Regards,
Christian


Reply via email to