chiark / gitweb /
Check javac existence when looking for JDK
authorrelan <email@hidden>
Wed, 3 Aug 2016 05:24:45 +0000 (08:24 +0300)
committerrelan <email@hidden>
Mon, 8 Aug 2016 04:25:26 +0000 (07:25 +0300)
commit162808a4ccd7eb4e2c0f502c12beb1e20ef07ad8
tree70ac327ef3101173cb535bb6490194a811641ad5
parent07660fdb13722ae8377432e2bac14b9cee862c2d
Check javac existence when looking for JDK

Empty JDK directories can remain from previous JDK installations. For
example in RHEL/Fedora when RPM upgrades a package it can leave modified
files (usually configs) and, consequently, their directories. So we could
end up selecting a bad JDK path.
fdroidserver/common.py