We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321e140 commit 8c96c0eCopy full SHA for 8c96c0e
build.sbt
@@ -76,12 +76,13 @@ script := {
76
77
val paths = res.getAbsolutePath +: out.getAbsolutePath +: cps.map(_.data.absolutePath)
78
val cp = paths.mkString(System.getProperty("path.separator"))
79
- IO.write(file, s"""|#!/bin/bash --posix
80
- |
81
- |SCALACLASSPATH=$cp
82
83
- |java -Xmx2G -Xms512M -Xss64M -classpath "$${SCALACLASSPATH}" -Dscala.usejavacp=true inox.Main $$@ 2>&1
84
- |""".stripMargin)
+ IO.write(file, s"""|#!/usr/bin/env bash
+ |set -o posix
+ |
+ |SCALACLASSPATH=$cp
+ |java -Xmx2G -Xms512M -Xss64M -classpath "$${SCALACLASSPATH}" -Dscala.usejavacp=true inox.Main $$@ 2>&1
85
+ |""".stripMargin)
86
file.setExecutable(true)
87
} catch {
88
case e: Throwable =>
0 commit comments