diff --git a/build.sbt b/build.sbt index d725f57e8..99b1a6434 100644 --- a/build.sbt +++ b/build.sbt @@ -102,7 +102,9 @@ script := { s.log.info("Generating '"+f.getName+"' script ("+(if(is64) "64b" else "32b")+")...") } val paths = (res.getAbsolutePath +: out.getAbsolutePath +: cps.map(_.data.absolutePath)).mkString(System.getProperty("path.separator")) - IO.write(f, s"""|#!/bin/bash --posix + IO.write(f, s"""|#!/usr/bin/env bash + | + | set -o posix | |SCALACLASSPATH="$paths" |