Browse Source

SCons: Fix up build after cache logic changes

Rémi Verschelde 11 months ago
parent
commit
c9acbf5a79
1 changed files with 1 additions and 0 deletions
  1. 1 0
      methods.py

+ 1 - 0
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"):