14 lines
795 B
Diff
14 lines
795 B
Diff
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
|
|
index 5bce95d5ea98c9a6522905f5c237fc5934fe2800..8ab6ad8f7871775473b179b44d84317be499626e 100755
|
|
--- a/tools/clang/scripts/update.py
|
|
+++ b/tools/clang/scripts/update.py
|
|
@@ -201,6 +201,8 @@ def DownloadAndUnpack(url, output_dir, path_prefixes=None, is_known_zip=False):
|
|
# The nicest way to do this would be by passing a filter to extractall,
|
|
# but that functionality is not available in macOS system Python (3.9.6).
|
|
for m in members:
|
|
+ if sys.platform == 'win32':
|
|
+ continue
|
|
# Confusingly, this checks if you're allowed to _not_ follow symlinks.
|
|
if os.utime in os.supports_follow_symlinks:
|
|
os.utime(os.path.join(output_dir, m.name), follow_symlinks=False)
|