internal/rosa/perl: Makefile.PL helper
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m47s
Test / Hakurei (push) Successful in 3m47s
Test / ShareFS (push) Successful in 3m46s
Test / Sandbox (race detector) (push) Successful in 5m24s
Test / Hakurei (race detector) (push) Successful in 6m30s
Test / Flake checks (push) Successful in 1m24s

This can be invoked from azalea.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-19 03:24:27 +09:00
parent a7877844bf
commit 8092492018
4 changed files with 53 additions and 18 deletions

View File

@@ -523,7 +523,7 @@ cd '/usr/src/` + name + `/'
scriptEarly += "\nmkdir -p " + dir
}
scriptEarly += "\ncd " + dir + "\n"
} else if !attr.EnterSource && attr.ScriptEarly == "" {
} else if !attr.EnterSource && attr.ScriptEarly == "" && dir != "" {
panic("cannot remain in root")
}