summaryrefslogtreecommitdiffstats
path: root/Tools/build
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/build')
-rw-r--r--Tools/build/generate_sbom.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/build/generate_sbom.py b/Tools/build/generate_sbom.py
index 282ee20..317d48f 100644
--- a/Tools/build/generate_sbom.py
+++ b/Tools/build/generate_sbom.py
@@ -106,6 +106,7 @@ def filter_gitignored_paths(paths: list[str]) -> list[str]:
# Non-matching files show up as '::<whitespace><path>'
git_check_ignore_proc = subprocess.run(
["git", "check-ignore", "--verbose", "--non-matching", *paths],
+ cwd=CPYTHON_ROOT_DIR,
check=False,
stdout=subprocess.PIPE,
)