Skip to content

Commit 1f97013

Browse files
author
Stewart Miles
committed
tar mtree module isn't available in all macOS distros.
Disable use of mtree module to strip variant file data from packages. Change-Id: I9a4515258f5daf5a87d9b5410b6cd7398ae48970
1 parent f7b5bed commit 1f97013

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/ExportUnityPackage/export_unity_package.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,10 +2507,6 @@ def create_archive(archive_filename, input_directory, timestamp):
25072507
os.utime(filename, (FLAGS.timestamp, FLAGS.timestamp))
25082508
# Don't recurse directories.
25092509
tar_args.append("-n")
2510-
# If timestamp, group or owner are present strip all fields from
2511-
# the tar so that it's reproducible.
2512-
if FLAGS.timestamp or FLAGS.owner or FLAGS.group:
2513-
tar_args.extend(["--options", "mtree:!all"])
25142510
tar_args.extend(["-T", list_filename])
25152511
# Disable timestamp in the gzip header.
25162512
tar_env = os.environ.copy()

0 commit comments

Comments
 (0)