Skip to content

Commit

Permalink
Merge pull request #198 from grml/zeha/tempdir
Browse files Browse the repository at this point in the history
build-driver: honor TMPDIR
  • Loading branch information
zeha authored Dec 10, 2024
2 parents 0576c5d + c033554 commit 5a4b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-driver/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def main(program_name: str, argv: list[str]) -> int:
print(f"I: {output_dir=}")

# avoid building on mounted volume
tmp_root = Path("/tmp") if True else Path(".").absolute()
tmp_root = Path(tempfile.gettempdir())
tmp_dir = Path(tempfile.mkdtemp(dir=tmp_root))
build_dir = Path(tempfile.mkdtemp(dir=tmp_root))

Expand Down

0 comments on commit 5a4b642

Please sign in to comment.