Skip to content

Commit f0265e0

Browse files
committed
Merge branch 'master' of github.com:kivy/python-for-android
2 parents 1af2bcf + ad4dd62 commit f0265e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ def unpack(self, arch):
16721672
info('Extracting {} at {}'.format(extraction_filename, filename))
16731673
sh.tar('xjf', extraction_filename)
16741674
root_directory = sh.tar('tjf', extraction_filename).stdout.decode(
1675-
'utf-8').split('\n')[0].strip('/')
1675+
'utf-8').split('\n')[0].split('/')[0]
16761676
if root_directory != directory_name:
16771677
shprint(sh.mv, root_directory, directory_name)
16781678
elif extraction_filename.endswith('.zip'):

0 commit comments

Comments
 (0)