chmod ug+x android_cmd

android_cmd needs to be made executable before its first use.
This commit is contained in:
Ben Hagen 2014-04-25 19:44:04 +02:00
parent 187ebdf999
commit 54bf4b687c

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