fix download of Android SDK in linux with python 3.3. Closes #110

This commit is contained in:
Mathieu Virbel 2014-06-02 11:47:19 +02:00
parent 819a925027
commit 373f8e2245

View file

@ -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: