From 4f1eeeb11d5a6782301a5cf702a3df6ed8fe1b3d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 2 May 2025 21:20:56 +0300 Subject: [PATCH] Fix dependency installation command arguments for 'bpm compile -d' --- src/bpm/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bpm/main.go b/src/bpm/main.go index c34eb84..7d49cb8 100644 --- a/src/bpm/main.go +++ b/src/bpm/main.go @@ -609,7 +609,9 @@ func resolveCommand() { } // 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 { cmd.Args = slices.Insert(cmd.Args, 3, "-y") }