diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-01-17 16:25:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 16:25:39 (GMT) |
commit | 7a0ac89b292324b629114a4c49b95fc5a78df7ca (patch) | |
tree | 76ab5f45103e9b56490e75fd7645d634b622fe91 /Tools/build | |
parent | 8cf37f244fa88b4e860e853ecb59b75f3f218191 (diff) | |
download | cpython-7a0ac89b292324b629114a4c49b95fc5a78df7ca.zip cpython-7a0ac89b292324b629114a4c49b95fc5a78df7ca.tar.gz cpython-7a0ac89b292324b629114a4c49b95fc5a78df7ca.tar.bz2 |
gh-114178: Fix generate_sbom.py for out-of-tree builds (#114179)
Diffstat (limited to 'Tools/build')
-rw-r--r-- | Tools/build/generate_sbom.py | 1 |
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, ) |