mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Kotlin: Fix build on Mac (Arm)
We were getting: $ echo foo > bar $ jar -c -f baz.jar bar -f : no such file or directory baz.jar : no such file or directory K-*��ϳR0�3��r.JM,IM�u�MEX��)h8������y�xk�r�rPYJO�?y_wTbarK���P�e2`wT META-INF/�`wTYJO�??=META-INF/MANIFEST.My_wT�e2~�barPK��
This commit is contained in:
@@ -75,7 +75,7 @@ def compile_to_jar(srcs, classpath, java_classpath, output):
|
||||
|
||||
compile_to_dir(srcs, classpath, java_classpath, builddir)
|
||||
|
||||
run_process(['jar', '-c', '-f', output,
|
||||
run_process(['jar', 'cf', output,
|
||||
'-C', builddir, '.',
|
||||
'-C', 'src/main/resources', 'META-INF'])
|
||||
shutil.rmtree(builddir)
|
||||
|
||||
Reference in New Issue
Block a user