[150696] contrib/mp-buildbot/mpbb-gather-archives

ryandesign at macports.org ryandesign at macports.org
Tue Jul 26 22:07:35 PDT 2016


Revision: 150696
          https://trac.macports.org/changeset/150696
Author:   ryandesign at macports.org
Date:     2016-07-26 22:07:35 -0700 (Tue, 26 Jul 2016)
Log Message:
-----------
mp-buildbot: preserve modification time when staging archives

Modified Paths:
--------------
    contrib/mp-buildbot/mpbb-gather-archives

Modified: contrib/mp-buildbot/mpbb-gather-archives
===================================================================
--- contrib/mp-buildbot/mpbb-gather-archives	2016-07-27 03:39:10 UTC (rev 150695)
+++ contrib/mp-buildbot/mpbb-gather-archives	2016-07-27 05:07:35 UTC (rev 150696)
@@ -23,7 +23,7 @@
         if "${tclsh}" "${option_workdir}/tools/port_binary_distributable.tcl" -v "${option_port}"; then
             echo "Staging archive for upload: ${archive_basename}"
             mkdir -p "${option_staging_dir}/${option_port}" || return $?
-            cp "${archive_path}" "${option_staging_dir}/${option_port}/${archive_basename}" || return $?
+            cp -p "${archive_path}" "${option_staging_dir}/${option_port}/${archive_basename}" || return $?
         fi
     fi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160726/cef7b43d/attachment.html>


More information about the macports-changes mailing list