mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-06 20:16:37 +00:00
download-macos-libs.py: Use real tar to unpack packages
This commit is contained in:
parent
ab5e7301fa
commit
6391cc1316
@ -135,7 +135,7 @@ class LibInstaller:
|
||||
assert extracted_path.startswith(self._extract_path), f'tarball has a global file: {fname}'
|
||||
|
||||
print(f' [*] Extracting to {self._extract_path}')
|
||||
tb.extractall(self._extract_path, numeric_owner=True)
|
||||
subprocess.check_call(["tar", "--numeric-owner", "-C", self._extract_path, "-xf", dst_pkg_filename])
|
||||
|
||||
for fpath in tb.getnames():
|
||||
# FIXME: Symlinks
|
||||
|
Loading…
x
Reference in New Issue
Block a user