fix download of Android SDK in linux with python 3.3. Closes #110
This commit is contained in:
parent
819a925027
commit
373f8e2245
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class TargetAndroid(Target):
|
||||||
elif platform in ('darwin', ):
|
elif platform in ('darwin', ):
|
||||||
archive = 'android-sdk_r{0}-macosx.zip'
|
archive = 'android-sdk_r{0}-macosx.zip'
|
||||||
unpacked = 'android-sdk-macosx'
|
unpacked = 'android-sdk-macosx'
|
||||||
elif platform in ('linux2', 'linux3'):
|
elif platform.startswith('linux'):
|
||||||
archive = 'android-sdk_r{0}-linux.tgz'
|
archive = 'android-sdk_r{0}-linux.tgz'
|
||||||
unpacked = 'android-sdk-linux'
|
unpacked = 'android-sdk-linux'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue