From e4c7185a1c1bbc7131355e2708101521c157d9c3 Mon Sep 17 00:00:00 2001 From: James Calo Date: Tue, 6 Aug 2019 17:20:46 +0100 Subject: [PATCH] Fix issue with windows install (#310) Windows version of python 3 returns platform.machine() in upper case for AMD64 which wasn't being checked for so added .lower(). Doesn't affect Linux python3 which already worked. --- emsdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emsdk b/emsdk index f197be0..c0fc9c3 100755 --- a/emsdk +++ b/emsdk @@ -82,7 +82,7 @@ if not OSX and (platform.system() == 'Linux' or os.name == 'posix'): UNIX = (OSX or LINUX) ARCH = 'unknown' -machine = platform.machine() +machine = platform.machine().lower() #amd64 was not being recognised when returned as AMD64 if machine.startswith('x64') or machine.startswith('amd64') or machine.startswith('x86_64'): ARCH = 'x86_64' elif machine.endswith('86'):