From 64b69907ababbafc13a0fdaabc3aaf439e02ec86 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 2 Sep 2025 06:02:57 +0100 Subject: init.sh: put TMPDIR inside xbmkpwd, not /tmp This way, all operations will be done inside the xbmk work directory. This is being done, so that I can then reliably sandybox certain commands in future commits, for example the "rm" command. This will also allow me to unify the location of all temporary files, in future commits. I previously used the /tmp directory because it's tmpfs-based on many setups, and this is great for performance. However, in practise, I never noticed any difference in performance when benchmarking it (testing /tmp on-disk versus tmpfs). Signed-off-by: Leah Rowe --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 4979e1f9..deb2d255 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /r /e /xbmkpath/ +/xbmkwd/ -- cgit v1.2.1