igvtools: fixed query on jdk instead of java (#12195)

This commit is contained in:
t-karatsu 2019-07-31 21:49:51 +09:00 committed by Massimiliano Culpo
parent a948954886
commit b744accaf6

View File

@ -33,7 +33,7 @@ def install(self, spec, prefix):
# Munge the helper script to explicitly point to java and the # Munge the helper script to explicitly point to java and the
# jar file. # jar file.
java = spec['jdk'].prefix.bin.java java = spec['java'].prefix.bin.java
kwargs = {'ignore_absent': False, 'backup': False, 'string': False} kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
filter_file('^java', java, script, **kwargs) filter_file('^java', java, script, **kwargs)
filter_file(jar_file, join_path(prefix.bin, jar_file), filter_file(jar_file, join_path(prefix.bin, jar_file),