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.
2 parents 1af2bcf + ad4dd62 commit f0265e0Copy full SHA for f0265e0
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