Skip to content

Commit

Permalink
map mingw_arch to msys2_arch instead
Browse files Browse the repository at this point in the history
let's not invent another new key not used anywhere else
  • Loading branch information
lazka committed Sep 15, 2024
1 parent 7ef284f commit 8b688c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msys2_devtools/pkgbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_extra_meta_for_pkgbuild(msys2_root: str, pkgbuild_path: str) -> \
meta = {}
for key, value in data.items():
if key == "mingw_arch":
key = "msys2_environments"
key = "msys2_arch"
if key.startswith("msys2_"):
key = key.split("_", 1)[-1]
meta[key] = value
Expand Down

0 comments on commit 8b688c5

Please sign in to comment.