Skip to content

Commit c2b7a04

Browse files
authored
Fix platform regex when installing wabt (#7656)
1 parent 9fed19c commit c2b7a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def wabt_determine_platform():
184184

185185

186186
def wabt_determine_release(platform):
187-
platform_regex = re.compile(r"^wabt-.*-ubuntu-.*.tar.gz$")
187+
platform_regex = re.compile(r"^wabt-.*-%s.*.tar.gz$" % platform)
188188
data = fetch_json('https://api.github.com/repos/WebAssembly/wabt/releases/latest')
189189
for asset in data['assets']:
190190
if platform_regex.match(asset['name']):

0 commit comments

Comments
 (0)