summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--methods.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods.py b/methods.py
index c115b71adf..1c33b00051 100644
--- a/methods.py
+++ b/methods.py
@@ -912,6 +912,7 @@ def prepare_cache(env) -> None:
if env.GetOption("clean"):
return
+ cache_path = ""
if env["cache_path"]:
cache_path = cast(str, env["cache_path"])
elif os.environ.get("SCONS_CACHE"):