chiark / gitweb /
common: make jdk detection more strict
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 23 Feb 2016 12:42:47 +0000 (12:42 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 23 Feb 2016 12:43:58 +0000 (12:43 +0000)
commite3f60e2b7820ff7f4773bb97bf5cc5e1f858c5ec
tree068c9eddfbaa840d1de2aeb3e772ad1a676f287f
parent3fbe4cc8f231b61bc5968bae3880b65820b76c07
common: make jdk detection more strict

We weren't using ^ and $, so stuff like java-8-openjdk-i386 would match
both the Arch and the Debian regexes. A list with one regex per line in
the same format is also easier to read and maintain.

This might be why java8 isn't being detected properly on our Debian
stable buildserver.
fdroidserver/common.py