Browse Source

fix: don't include breakpad_symbols dir in dsym.zip (#22221)

Co-authored-by: John Kleinschmidt <[email protected]>
trop[bot] 5 years ago
parent
commit
44ee90e5cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      script/lib/util.py

+ 2 - 2
script/lib/util.py

@@ -120,8 +120,8 @@ def extract_zip(zip_path, destination):
 def make_zip(zip_file_path, files, dirs):
   safe_unlink(zip_file_path)
   if sys.platform == 'darwin':
-    files += dirs
-    execute(['zip', '-r', '-y', zip_file_path] + files)
+    allfiles = files + dirs
+    execute(['zip', '-r', '-y', zip_file_path] + allfiles)
   else:
     zip_file = zipfile.ZipFile(zip_file_path, "w", zipfile.ZIP_DEFLATED,
                                allowZip64=True)