aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/copy_clang_profile_rt.py
diff options
context:
space:
mode:
authorrobot-brewer <robot-brewer@yandex-team.com>2024-10-24 09:06:57 +0300
committerrobot-brewer <robot-brewer@yandex-team.com>2024-10-24 09:19:34 +0300
commit0bb24f744b14da1f9afe0c8a2f8675d6ed3ba578 (patch)
tree0b8adfcb39bce1bee66f3a03b2316772568c04f8 /build/scripts/copy_clang_profile_rt.py
parentb5de966122980444f495696a79c988be76ccad99 (diff)
downloadydb-0bb24f744b14da1f9afe0c8a2f8675d6ed3ba578.tar.gz
Release python3-frozen #10
https://github.com/yandex/toolchain-registry/releases/tag/python3-frozen-v10 commit_hash:c15fdff831efa24ba1f6711307408dd1c7a46b91
Diffstat (limited to 'build/scripts/copy_clang_profile_rt.py')
-rw-r--r--build/scripts/copy_clang_profile_rt.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/scripts/copy_clang_profile_rt.py b/build/scripts/copy_clang_profile_rt.py
index f8058e9e64..84444b9dbf 100644
--- a/build/scripts/copy_clang_profile_rt.py
+++ b/build/scripts/copy_clang_profile_rt.py
@@ -1,7 +1,10 @@
import optparse
-import os
+import sys, os
import shutil
+# 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
# List is a temporary thing to ensure that nothing breaks before and after switching to newer clang