diff --git a/update_formulaes.py b/update_formulaes.py index 47685f3..8c457fd 100644 --- a/update_formulaes.py +++ b/update_formulaes.py @@ -41,7 +41,7 @@ def fetch_targets_from_latest_release(): if target not in targets: targets[target] = { "version": version, - "name": target.title().replace("-", ""), + "name": target.title().replace("-", "").replace("_", ""), "description": f"{target} Toolchain", } if arch == "aarch64": diff --git a/x86_64-unknown-linux-gnu.rb b/x86_64-unknown-linux-gnu.rb index 597ca51..ad64ec7 100644 --- a/x86_64-unknown-linux-gnu.rb +++ b/x86_64-unknown-linux-gnu.rb @@ -1,4 +1,4 @@ -class X86_64UnknownLinuxGnu < Formula +class X8664UnknownLinuxGnu < Formula desc "x86_64-unknown-linux-gnu Toolchain" homepage "https://github.com/messense/homebrew-macos-cross-toolchains" license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" } diff --git a/x86_64-unknown-linux-musl.rb b/x86_64-unknown-linux-musl.rb index 5203a1b..2fbf31f 100644 --- a/x86_64-unknown-linux-musl.rb +++ b/x86_64-unknown-linux-musl.rb @@ -1,4 +1,4 @@ -class X86_64UnknownLinuxMusl < Formula +class X8664UnknownLinuxMusl < Formula desc "x86_64-unknown-linux-musl Toolchain" homepage "https://github.com/messense/homebrew-macos-cross-toolchains" license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }