From 2904ec2273762df58645a8e245b2281884855b8c Mon Sep 17 00:00:00 2001 From: Burkov Egor Date: Wed, 5 Mar 2025 20:08:30 +0300 Subject: [PATCH] gh-130878: Add extra check to prepare_ssl.py (GH-130879) --- PCbuild/prepare_ssl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PCbuild/prepare_ssl.py b/PCbuild/prepare_ssl.py index 0f3c63ee24f..0461167e0d2 100755 --- a/PCbuild/prepare_ssl.py +++ b/PCbuild/prepare_ssl.py @@ -70,7 +70,8 @@ def copy_includes(makefile, suffix): try: os.makedirs(dir) except OSError: - pass + if not os.path.isdir(dir): + raise copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl' with open(makefile) as fin: for line in fin: