We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433284d commit 5d26fc6Copy full SHA for 5d26fc6
tools/src/main/python/opengrok_tools/utils/java.py
@@ -88,7 +88,7 @@ def FindJava(self, logger):
88
if os.path.isdir(java_home):
89
java = os.path.join(java_home, 'bin', 'java')
90
elif system_name == 'Darwin':
91
- cmd = Command('/usr/libexec/java_home')
+ cmd = Command(['/usr/libexec/java_home'])
92
cmd.execute()
93
java = os.path.join(cmd.getoutputstr(), 'bin', 'java')
94
elif system_name == 'Linux':
0 commit comments