Skip to content

Commit

Permalink
Use env to launch bash
Browse files Browse the repository at this point in the history
/bin/bash is not available on all system
  • Loading branch information
MasseGuillaume authored and samarion committed Jun 19, 2017
1 parent 6f1cbe8 commit 23c7205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ val scriptSettings: Seq[Setting[_]] = Seq(
}

val paths = scriptPath.value
IO.write(scriptFile, s"""|#!/bin/bash --posix
IO.write(scriptFile, s"""|#!/usr/bin/env bash
|
|set -o posix
|
|set -o pipefail
|
Expand Down

0 comments on commit 23c7205

Please sign in to comment.