Fixed bad expand option for openjdk versions. (#15956)

The most recent change to the openjdk package set expand=False for all versions
of the package. This means only the unexpanded archive will be installed, which is not correct.
This commit is contained in:
Paul Ferrell 2020-04-08 21:07:00 -06:00 committed by GitHub
parent 4886a2d5ef
commit d05f25a4d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ class Openjdk(Package):
key = "{0}-{1}".format(platform.system(), platform.machine())
pkg = packages.get(key)
if pkg:
version(ver, sha256=pkg[0], url=pkg[1], expand=False)
version(ver, sha256=pkg[0], url=pkg[1])
provides('java@8', when='@1.8.0:1.8.999')
provides('java@11', when='@11.0:11.99')