diff --git a/tools/build b/tools/build index 4f66902..1aca25b 100755 --- a/tools/build +++ b/tools/build @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/tools/build-loop b/tools/build-loop index 5384701..02d70d5 100755 --- a/tools/build-loop +++ b/tools/build-loop @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash TRAPPING=0 trap "{ echo finishing; TRAPPING=1; }" SIGINT diff --git a/tools/format b/tools/format index 457b13f..c104525 100755 --- a/tools/format +++ b/tools/format @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eo pipefail diff --git a/tools/generate b/tools/generate index af897e5..be41375 100755 --- a/tools/generate +++ b/tools/generate @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash exec go run tools/generate.go $@ diff --git a/tools/measure b/tools/measure index f62c578..39d583b 100755 --- a/tools/measure +++ b/tools/measure @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash exec go run tools/measure.go diff --git a/tools/serve b/tools/serve index baf68d1..1d4b594 100755 --- a/tools/serve +++ b/tools/serve @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash exec go run tools/serve.go diff --git a/tools/test b/tools/test index c0c9c55..c380515 100755 --- a/tools/test +++ b/tools/test @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Sanity testing of the examples. diff --git a/tools/upload b/tools/upload index 5ca34ef..c00a2ab 100755 --- a/tools/upload +++ b/tools/upload @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash exec go run tools/upload.go -region us-east-1 -bucket gobyexample.com