8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0a2d5 commit e079f17Copy full SHA for e079f17
pythonforandroid/toolchain.py
@@ -1672,7 +1672,7 @@ def unpack(self, arch):
1672
info('Extracting {} at {}'.format(extraction_filename, filename))
1673
sh.tar('xjf', extraction_filename)
1674
root_directory = sh.tar('tjf', extraction_filename).stdout.decode(
1675
- 'utf-8').split('\n')[0].strip('/')
+ 'utf-8').split('\n')[0].split('/')[0]
1676
if root_directory != directory_name:
1677
shprint(sh.mv, root_directory, directory_name)
1678
elif extraction_filename.endswith('.zip'):
0 commit comments