aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/app/main.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-21 00:48:18 +0900
committerOphestra <cat@gensokyo.uk>2026-06-21 00:48:18 +0900
commitcd493fd95f78b023c159c10571a0de8d701c4b27 (patch)
treec7dcd78471f62326005b896a5d3a577ff351523f /cmd/app/main.go
parent9db70c83e3edf5bc65aaf09e4024b44efd3cae52 (diff)
cmd/app: centralise workdir
This makes the directory structure significantly more manageable. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/app/main.go')
-rw-r--r--cmd/app/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/app/main.go b/cmd/app/main.go
index b911e7dd..c9331e39 100644
--- a/cmd/app/main.go
+++ b/cmd/app/main.go
@@ -93,8 +93,8 @@ func main() {
{FilesystemConfig: &hst.FSOverlay{
Target: fhs.AbsRoot,
Lower: []*check.Absolute{initial},
- Upper: template.Append(args[0], "upper"),
- Work: template.Append(args[0], "work"),
+ Upper: template.Append(args[0]),
+ Work: base.Append("work", args[0]),
}},
{FilesystemConfig: &hst.FSEphemeral{
Target: fhs.AbsTmp,