Commit 4ab8a677 authored by Felix Hädicke's avatar Felix Hädicke Committed by Max Kellermann

build/python: do not use absolute path for tar

parent 52e4a4c9
......@@ -10,7 +10,7 @@ def untar(tarball_path, parent_path, base, lazy=False):
pass
os.makedirs(parent_path, exist_ok=True)
try:
subprocess.check_call(['/bin/tar', 'xfC', tarball_path, parent_path])
subprocess.check_call(['tar', 'xfC', tarball_path, parent_path])
except FileNotFoundError:
import tarfile
tar = tarfile.open(tarball_path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment