Skip to content

Commit

Permalink
Add installCommand to ypkg-install-deps invocation
Browse files Browse the repository at this point in the history
This ensures that ypkg uses either the default installCommand or the one
that was passed in as an argument.

Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo committed Oct 16, 2024
1 parent 2670e56 commit 7eb6c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 7eb6c7d

Please sign in to comment.