chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75381ef
)
Warn if build_tools is not set up properly
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 16 Jun 2014 10:40:04 +0000
(12:40 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 16 Jun 2014 10:40:04 +0000
(12:40 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 303b3b6b18e01ecb61a7bab9a3c63708b1ed6b93..5b392149ffe1c4c0940905ad651ec2df38dbc467 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-142,6
+142,9
@@
def test_sdk_exists(c):
if not os.path.isdir(os.path.join(c['sdk_path'], 'build-tools')):
logging.critical('Android SDK path "' + c['sdk_path'] + '" does not contain "build-tools/"!')
return False
+ if not os.path.isdir(os.path.join(c['sdk_path'], 'build-tools', c['build_tools'])):
+ logging.critical('Configured build-tools version "' + c['build_tools'] + '" not found in the SDK!')
+ return False
return True