Unverified Commit 574702b7 authored by Adin Schmahmann's avatar Adin Schmahmann Committed by GitHub

Merge pull request #7735 from ipfs/fix/fs-repo-musl-err

return an error when trying to download fs-repo-migrations for linux + musl
parents 776e03c9 02733f73
......@@ -220,6 +220,11 @@ func GetBinaryForVersion(distname, binnom, root, vers, out string) error {
if err != nil {
return err
}
if osv == "linux-musl" {
return fmt.Errorf("linux-musl not supported, you must build the binary from source for your platform")
}
finame := fmt.Sprintf("%s_%s_%s-%s.%s", distname, vers, osv, runtime.GOARCH, archive)
distpath := fmt.Sprintf("%s/%s/%s/%s", root, distname, vers, finame)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment