File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def gen_java_and_kotlin_index():
41
41
os .environ ["JAVA_HOME" ] = "/usr/lib/jvm/java-8-openjdk"
42
42
43
43
# https://sourcegraph.github.io/scip-java/docs/getting-started.html#run-scip-java-index
44
- check_call ([ "scip-java index --output index.scip" ] )
44
+ check_call ("scip-java index --output index.scip" )
45
45
46
46
47
47
def gen_py_index ():
Original file line number Diff line number Diff line change 8
8
def check_call (commands : typing .Union [str , list ]):
9
9
logger .info (f"check calling: { commands } " )
10
10
if isinstance (commands , str ):
11
+ # for https://github.com/orgs/community/discussions/25738
12
+ commands = "JAVA_HOME=/usr/lib/jvm/java-8-openjdk" + " " + commands
11
13
subprocess .check_call (commands , env = os .environ , shell = True )
12
14
else :
13
15
subprocess .check_call (commands , env = os .environ )
You can’t perform that action at this time.
0 commit comments