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 037d455866f4dc501c95d515e2c1952d2288930c..08d5bf9bbca885b6850f8a885a28c592e7e607de 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)
|