mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
build.py corrected
This commit is contained in:
parent
230286786f
commit
0672a6f1ec
1 changed files with 14 additions and 14 deletions
|
|
@ -672,11 +672,11 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
||||||
bc_sdk = None
|
bc_sdk = None
|
||||||
try:
|
try:
|
||||||
bc_ndk = bconfig.get('app', 'android.sdk_path')
|
bc_ndk = bconfig.get('app', 'android.sdk_path')
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
bc_sdk = bconfig.get('app', 'android.ndk_path')
|
bc_sdk = bconfig.get('app', 'android.ndk_path')
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if bc_sdk is None:
|
if bc_sdk is None:
|
||||||
|
|
@ -696,7 +696,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
||||||
cmd = ['buildozer', 'android', 'release']
|
cmd = ['buildozer', 'android', 'release']
|
||||||
try:
|
try:
|
||||||
p = FDroidPopen(cmd, cwd=root_dir)
|
p = FDroidPopen(cmd, cwd=root_dir)
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# buidozer not installed ? clone repo and run
|
# buidozer not installed ? clone repo and run
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue