From 54a66b6ba4d7d5b11ad688e8072df4c2f107b3c9 Mon Sep 17 00:00:00 2001
From: robot-brewer <robot-brewer@yandex-team.com>
Date: Tue, 22 Oct 2024 08:39:26 +0300
Subject: Release python3-frozen #8

https://github.com/yandex/toolchain-registry/releases/tag/python3-frozen-v8
commit_hash:db14a768da738da2ea13bd7cb7af738d83793500
---
 build/scripts/fix_msvc_output.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'build/scripts/fix_msvc_output.py')

diff --git a/build/scripts/fix_msvc_output.py b/build/scripts/fix_msvc_output.py
index c9694afbc8..49df9aee3b 100644
--- a/build/scripts/fix_msvc_output.py
+++ b/build/scripts/fix_msvc_output.py
@@ -1,6 +1,9 @@
 import subprocess
-import sys
+import os, sys
 
+# Explicitly enable local imports
+# Don't forget to add imported scripts to inputs of the calling command!
+sys.path.append(os.path.dirname(os.path.abspath(__file__)))
 import process_command_files as pcf
 import process_whole_archive_option as pwa
 
-- 
cgit v1.2.3