mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* build: preserve timestamps when stripping files
Resolves an issue where the binaries in mksnapshot.zip were not getting stripped.
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
(cherry picked from commit 5e49aafe55)
This commit is contained in:
committed by
GitHub
parent
360e8a2eb8
commit
51504aee64
@@ -22,7 +22,7 @@ def strip_binary(binary_path, target_cpu):
|
||||
strip = 'mips64el-redhat-linux-strip'
|
||||
else:
|
||||
strip = 'strip'
|
||||
execute([strip, binary_path])
|
||||
execute([strip, '--preserve-dates', binary_path])
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
|
||||
Reference in New Issue
Block a user