From 06a612945b36eb741871a8239d0a91816f5a659d Mon Sep 17 00:00:00 2001 From: "Gabriel M. Dutra" Date: Sat, 19 Jul 2025 03:11:31 -0300 Subject: security/osv-scanner: Fix patch Remove CONFLICTS_INSTALL and add GO_SUFFIX in the patch. --- security/osv-scanner/files/patch-internal_sourceanalysis_go.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security/osv-scanner/files/patch-internal_sourceanalysis_go.go') diff --git a/security/osv-scanner/files/patch-internal_sourceanalysis_go.go b/security/osv-scanner/files/patch-internal_sourceanalysis_go.go index 05d4a3d256c3..04a027230126 100644 --- a/security/osv-scanner/files/patch-internal_sourceanalysis_go.go +++ b/security/osv-scanner/files/patch-internal_sourceanalysis_go.go @@ -5,7 +5,7 @@ func goAnalysis(pkgs []models.PackageVulns, source models.SourceInfo) { - cmd := exec.Command("go", "version") -+ cmd := exec.Command("go124", "version") ++ cmd := exec.Command("go%%GO_SUFFIX%%", "version") _, err := cmd.Output() if err != nil { slog.Info("Skipping call analysis on Go code since Go is not installed.") -- cgit v1.2.3