WIP: Readd source package compilation functionality #11
@ -609,7 +609,9 @@ func resolveCommand() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Run 'bpm install' using the set privilege escalator command
|
// Run 'bpm install' using the set privilege escalator command
|
||||||
cmd := exec.Command(bpmlib.BPMConfig.PrivilegeEscalatorCmd, executable, "install", "--installation-reason=dependency", strings.Join(unmetDepends, " "))
|
args := []string{executable, "install", "--installation-reason=dependency"}
|
||||||
|
args = append(args, unmetDepends...)
|
||||||
|
cmd := exec.Command(bpmlib.BPMConfig.PrivilegeEscalatorCmd, args...)
|
||||||
if yesAll {
|
if yesAll {
|
||||||
cmd.Args = slices.Insert(cmd.Args, 3, "-y")
|
cmd.Args = slices.Insert(cmd.Args, 3, "-y")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user