Skip to content

Commit

Permalink
Call cpackget with --no-dependencies flags (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 authored Apr 10, 2024
1 parent 3d6488a commit a38fc45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/builder/csolution/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (b CSolutionBuilder) installMissingPacks() (err error) {
// to handle '>=' in pack version, is resolved
pack = utils.RemoveVersionRange(pack)

args = []string{"add", pack, "--force-reinstall", "--agree-embedded-license"}
args = []string{"add", pack, "--force-reinstall", "--agree-embedded-license", "--no-dependencies"}
cpackgetBin := filepath.Join(b.InstallConfigs.BinPath, "cpackget"+b.InstallConfigs.BinExtn)
if _, err := os.Stat(cpackgetBin); os.IsNotExist(err) {
log.Error("error cpackget not found")
Expand Down

0 comments on commit a38fc45

Please sign in to comment.