1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

fix: jarsigner and keytool lookup regression

This commit is contained in:
Michael Pöhn 2018-08-21 03:05:43 +02:00
parent c766129f8b
commit 4dcfa95d6e

View File

@ -236,8 +236,9 @@ def fill_config_defaults(thisconfig):
thisconfig['keytool'] = os.path.join(java_home, 'bin', 'keytool')
break
if 'jarsigner' not in thisconfig:
if 'jarsigner' not in thisconfig and shutil.which('jarsigner'):
thisconfig['jarsigner'] = shutil.which('jarsigner')
if 'keytool' not in thisconfig and shutil.which('keytool'):
thisconfig['keytool'] = shutil.which('keytool')
for k in ['ndk_paths', 'java_paths']: