Merge pull request #99291 from akien-mga/scons-cache-fixup
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions

SCons: Fix up build after cache logic changes
This commit is contained in:
Rémi Verschelde 2024-11-15 18:26:05 +01:00 committed by GitHub
commit 6c05ec3d67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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