diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-18 11:54:51 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-18 12:02:51 +0100 |
commit | ac36ea7f950a88e56be82e046004c9780c9e0803 (patch) | |
tree | 1a1f754f24c80538f683fc1d30f508be3071175e /resources/scripts | |
parent | 484afcb91969b9325c448a6a77ad97a4813f7bfb (diff) |
init.sh: initialise variables AFTER path
That way, unnecessary work is avoided on child instances.
Of course, the current check assumes that TMPDIR wasn't
already set by a wily user before running lbmk, but then
those sorts of users probably know what they're doing.
If they don't know, they will soon find out. Therefore, I
have added additional checks on child instances, preventing
the build system from running if XBMK_CACHE is not set; if
it isn't, then that could very easy lead to certain system
files being overwritten.
The user must never know what happens if XBMK_CACHE is unset.
We simply will not allow it.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts')
0 files changed, 0 insertions, 0 deletions