Merge pull request #111 from cbenhagen/patch-1

chmod ug+x android_cmd
This commit is contained in:
Akshay Arora 2014-04-25 23:54:15 +05:30
commit 965a1c21b8

View file

@ -312,6 +312,8 @@ class TargetAndroid(Target):
# 3 pass installation.
need_refresh = False
self.buildozer.cmd('chmod ug+x {}'.format(self.android_cmd))
# 1. update the tool and platform-tools if needed
packages = self._android_list_sdk()
if 'tools' in packages or 'platform-tools' in packages:
@ -337,7 +339,6 @@ class TargetAndroid(Target):
if android_package in packages:
self._android_update_sdk(android_package)
self.buildozer.cmd('chmod +x {}/tools/*'.format(self.android_sdk_dir))
self.buildozer.info('Android packages installation done.')
def install_platform(self):