diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-19 03:24:27 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-19 03:24:27 +0900 |
| commit | 8092492018a520b997f688a617ccb0684cb82b4b (patch) | |
| tree | a89878652c0a30cb50305b6f3de340b73a595463 /internal/rosa/rosa.go | |
| parent | a7877844bf93d9e15cc4f90e99d6e283d59b74ab (diff) | |
internal/rosa/perl: Makefile.PL helper
This can be invoked from azalea.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
| -rw-r--r-- | internal/rosa/rosa.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 209b8942..44a463af 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -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") } |
