mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
fix: jarsigner and keytool lookup regression
This commit is contained in:
parent
c766129f8b
commit
4dcfa95d6e
1 changed files with 2 additions and 1 deletions
|
@ -236,8 +236,9 @@ def fill_config_defaults(thisconfig):
|
||||||
thisconfig['keytool'] = os.path.join(java_home, 'bin', 'keytool')
|
thisconfig['keytool'] = os.path.join(java_home, 'bin', 'keytool')
|
||||||
break
|
break
|
||||||
|
|
||||||
if 'jarsigner' not in thisconfig:
|
if 'jarsigner' not in thisconfig and shutil.which('jarsigner'):
|
||||||
thisconfig['jarsigner'] = shutil.which('jarsigner')
|
thisconfig['jarsigner'] = shutil.which('jarsigner')
|
||||||
|
if 'keytool' not in thisconfig and shutil.which('keytool'):
|
||||||
thisconfig['keytool'] = shutil.which('keytool')
|
thisconfig['keytool'] = shutil.which('keytool')
|
||||||
|
|
||||||
for k in ['ndk_paths', 'java_paths']:
|
for k in ['ndk_paths', 'java_paths']:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue