From 8092492018a520b997f688a617ccb0684cb82b4b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 19 May 2026 03:24:27 +0900 Subject: internal/rosa/perl: Makefile.PL helper This can be invoked from azalea. Signed-off-by: Ophestra --- internal/rosa/rosa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/rosa/rosa.go') 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") } -- cgit v1.3.1