mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Don't check for mvn and gradle binaries
This commit is contained in:
parent
c4d14ce86a
commit
d8fde9e855
1 changed files with 0 additions and 11 deletions
|
|
@ -26,7 +26,6 @@ import operator
|
||||||
import Queue
|
import Queue
|
||||||
import threading
|
import threading
|
||||||
import magic
|
import magic
|
||||||
from distutils.spawn import find_executable
|
|
||||||
|
|
||||||
import metadata
|
import metadata
|
||||||
|
|
||||||
|
|
@ -83,16 +82,6 @@ def read_config(opts, config_file='config.py'):
|
||||||
v = os.path.expanduser(v)
|
v = os.path.expanduser(v)
|
||||||
config[k] = os.path.expandvars(v)
|
config[k] = os.path.expandvars(v)
|
||||||
|
|
||||||
# Check that commands and binaries do exist
|
|
||||||
for key in ('mvn3', 'gradle'):
|
|
||||||
if key not in config:
|
|
||||||
continue
|
|
||||||
val = config[key]
|
|
||||||
executable = find_executable(val)
|
|
||||||
if not executable:
|
|
||||||
print "ERROR: No such command or binary for %s: %s" % (key, val)
|
|
||||||
sys.exit(3)
|
|
||||||
|
|
||||||
# Check that directories exist
|
# Check that directories exist
|
||||||
for key in ('sdk_path', 'ndk_path', 'build_tools'):
|
for key in ('sdk_path', 'ndk_path', 'build_tools'):
|
||||||
if key not in config:
|
if key not in config:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue