forked from rosa/hakurei
internal/rosa/perl: Makefile.PL helper
This can be invoked from azalea. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user