Selaa lähdekoodia

SCons: Fix up build after cache logic changes

Rémi Verschelde 11 kuukautta sitten
vanhempi
commit
c9acbf5a79
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      methods.py

+ 1 - 0
methods.py

@@ -912,6 +912,7 @@ def prepare_cache(env) -> None:
     if env.GetOption("clean"):
     if env.GetOption("clean"):
         return
         return
 
 
+    cache_path = ""
     if env["cache_path"]:
     if env["cache_path"]:
         cache_path = cast(str, env["cache_path"])
         cache_path = cast(str, env["cache_path"])
     elif os.environ.get("SCONS_CACHE"):
     elif os.environ.get("SCONS_CACHE"):