summaryrefslogtreecommitdiffstats
path: root/tools/scripts/take_snapshot.py
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-02-16 11:14:24 +0100
committerMichal Klocek <michal.klocek@qt.io>2023-02-21 19:19:48 +0100
commita62d2f827cd268bc99116b73cae7b61543ec2c71 (patch)
tree57fb6b1d756ac637cdebfc84537f31bad9356ecc /tools/scripts/take_snapshot.py
parent91a6b1494f0291e5be618f02ed2f1f5e0a81eef9 (diff)
Add -n to gzip for transport_security_state_static.json.gz
Prevent adding timestamp to archive as this will generate diffrent gz despite same content. Change-Id: Id74b067fd9d1e9b975d803635bda453db40b975f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tools/scripts/take_snapshot.py')
-rwxr-xr-xtools/scripts/take_snapshot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/take_snapshot.py b/tools/scripts/take_snapshot.py
index 8769d096d..e2e454060 100755
--- a/tools/scripts/take_snapshot.py
+++ b/tools/scripts/take_snapshot.py
@@ -394,7 +394,7 @@ def exportChromium():
copyFile(f, os.path.join(third_party_chromium, f))
# We need to gzip transport_security_state_static.json since it is otherwise too big for our git configuration:
- subprocess.call(['gzip', third_party_chromium + '/net/http/transport_security_state_static.json'])
+ subprocess.call(['gzip', '-n', third_party_chromium + '/net/http/transport_security_state_static.json'])
print("")
commandNotFound = subprocess.call(['which', 'dos2unix'])