Skip to content

Commit 58be18e

Browse files
committed
Set temp directory via env var
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 930681f commit 58be18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blint/lib/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def extract_ar(ar_file: str, to_dir: str | None = None) -> list[str]:
588588
Returns the list of extracted files
589589
"""
590590
if not to_dir:
591-
to_dir = tempfile.mkdtemp(prefix="ar-temp-")
591+
to_dir = tempfile.mkdtemp(prefix="ar-temp-", dir=os.getenv("BLINT_TEMP_DIR"))
592592
files_list = []
593593
with open(ar_file, "rb") as fp:
594594
try:

0 commit comments

Comments
 (0)