From 8500fa76f418b8d695618b352f0807c12443e509 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Wed, 17 Dec 2014 18:28:14 +0100 Subject: [PATCH] fix hardcoded path to /bin/bash fix #125 Using '/usr/bin/env bash' adds more portability. --- lib/build.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.rb b/lib/build.rb index 4788187..c636746 100644 --- a/lib/build.rb +++ b/lib/build.rb @@ -41,7 +41,7 @@ def run @commands.unshift(clone_cmd) end - @run_file.puts %|#!/bin/bash| + @run_file.puts %|#!/usr/bin/env bash| @run_file.puts %|set -e| @run_file.puts %|trap 'kill -s INT 0' EXIT|