From 7eb6c7d8ba0783cf2715b7b66fca0eb899b45f74 Mon Sep 17 00:00:00 2001 From: Rune Morling Date: Wed, 16 Oct 2024 17:26:15 +0200 Subject: [PATCH] Add installCommand to ypkg-install-deps invocation This ensures that ypkg uses either the default installCommand or the one that was passed in as an argument. Signed-off-by: Rune Morling --- builder/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/build.go b/builder/build.go index ed73293..bddaf2a 100644 --- a/builder/build.go +++ b/builder/build.go @@ -249,7 +249,7 @@ func (p *Package) PrepYpkg(notif PidNotifier, usr *UserInfo, pman *EopkgManager, wdir := p.GetWorkDirInternal() ymlFile := filepath.Join(wdir, filepath.Base(p.Path)) - cmd := fmt.Sprintf("ypkg-install-deps -f %s", ymlFile) + cmd := fmt.Sprintf("ypkg-install-deps --eopkg-cmd='%s' -f %s", installCommand, ymlFile) if DisableColors { cmd += " -n" }