1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

SCons: Fix up build after cache logic changes

This commit is contained in:
Rémi Verschelde
2024-11-15 18:18:12 +01:00
parent 68fe5817aa
commit c9acbf5a79

View File

@@ -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"):