Fix dependency installation command arguments for 'bpm compile -d'
This commit is contained in:
parent
2e416b9e6f
commit
4f1eeeb11d
@ -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