Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5e3aef

Browse files
committed
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��
1 parent 7c571dd commit c5e3aef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/kotlin-extractor/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def compile_to_jar(srcs, classpath, java_classpath, output):
7575

7676
compile_to_dir(srcs, classpath, java_classpath, builddir)
7777

78-
run_process(['jar', '-c', '-f', output,
78+
run_process(['jar', 'cf', output,
7979
'-C', builddir, '.',
8080
'-C', 'src/main/resources', 'META-INF'])
8181
shutil.rmtree(builddir)

0 commit comments

Comments
 (0)