From 71f2ca2009e4f8de7f0ff5c710a35727a5fce54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Brachtha=CC=88user?= Date: Mon, 24 Oct 2022 10:44:37 +0200 Subject: [PATCH] Append -S as proposed by @waterlens in #16 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 6700336ae..b6538b076 100644 --- a/build.sbt +++ b/build.sbt @@ -123,7 +123,7 @@ lazy val effekt: CrossProject = crossProject(JSPlatform, JVMPlatform).in(file("e // prepend shebang to make jar file executable val binary = (ThisBuild / baseDirectory).value / "bin" / "effekt" IO.delete(binary) - IO.append(binary, "#! /usr/bin/env java -jar\n") + IO.append(binary, "#! /usr/bin/env -S java -jar\n") IO.append(binary, IO.readBytes(jarfile)) },