Skip to content

Commit

Permalink
set arch on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Jun 21, 2023
1 parent f7b0b6a commit b97d9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func add(list []string, item string) []string {
func TransformBinaryTarget(name string) string {
// TODO this is a temp fix as the exact alpine libraries are not working
if name == "linux" || strings.Contains(name, "musl") {
name = "linux-static-x64"
name = "linux-static-" + platform.Arch()
logger.Debug.Printf("overriding binary name with '%s' due to linux or musl", name)
}
return name
Expand Down

0 comments on commit b97d9e9

Please sign in to comment.