mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
fix: don't make extra directory in ephemeral directory
This commit is contained in:
parent
873310d900
commit
153d9fe774
1 changed files with 1 additions and 3 deletions
|
@ -1725,9 +1725,7 @@ class Viv:
|
||||||
if run_mode == "ephemeral":
|
if run_mode == "ephemeral":
|
||||||
new_cache = tmpdir
|
new_cache = tmpdir
|
||||||
elif run_mode == "semi-ephemeral":
|
elif run_mode == "semi-ephemeral":
|
||||||
new_cache = str(
|
new_cache = str(Path(tempfile.gettempdir()) / "viv-ephemeral-cache")
|
||||||
Path(tempfile.gettempdir()) / "viv-ephemeral-cache" / "venvs"
|
|
||||||
)
|
|
||||||
|
|
||||||
env.update({"VIV_CACHE": new_cache})
|
env.update({"VIV_CACHE": new_cache})
|
||||||
os.environ["VIV_CACHE"] = new_cache
|
os.environ["VIV_CACHE"] = new_cache
|
||||||
|
|
Loading…
Reference in a new issue