From 736895b0c638284de3fc4bf0b2d278de2e6be3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Thu, 23 Nov 2017 17:19:14 +0200 Subject: [PATCH] Unzip .tar.xz packages --- emsdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emsdk b/emsdk index faa5747..553ad69 100755 --- a/emsdk +++ b/emsdk @@ -1316,7 +1316,7 @@ class Tool: success = build_fastcomp_tool(self) elif hasattr(self, 'git_branch'): success = git_clone_checkout_and_pull(url, self.installation_path(), self.git_branch) - elif url.endswith('zip') or url.endswith('.tar') or url.endswith('.gz'): + elif url.endswith('zip') or url.endswith('.tar') or url.endswith('.gz') or url.endswith('.xz'): download_even_if_exists = (self.id == 'vs-tool') success = download_and_unzip(url, self.installation_path(), download_even_if_exists, filename_prefix=self.zipfile_prefix if hasattr(self, 'zipfile_prefix') else '') else: