Skip to content

Commit afa761b

Browse files
committed
Use system xar and cpio
1 parent f6e5cc3 commit afa761b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpkg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
import shutil
6565
import tempfile
6666

67-
XAR_PATH = os.path.join(os.path.dirname(sys.argv[0]), 'xar')
68-
CPIO_PATH = os.path.join(os.path.dirname(sys.argv[0]), 'cpio')
67+
XAR_PATH = '/usr/bin/xar'
68+
CPIO_PATH = '/usr/bin/cpio'
6969

7070
def get_extract_dir(pkg_path):
7171
enclosing_path, pkg_name = os.path.split(os.path.splitext(pkg_path)[0])

0 commit comments

Comments
 (0)