/bin/bash -> /usr/bin/env bash (#471)

Using env offers better portability
This commit is contained in:
Hossein Naghdbishi 2023-04-19 23:25:41 +00:00 committed by GitHub
parent 363849f9e3
commit cb2d0d9555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
TRAPPING=0
trap "{ echo finishing; TRAPPING=1; }" SIGINT

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
exec go run tools/generate.go $@

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
exec go run tools/measure.go

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
exec go run tools/serve.go

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Sanity testing of the examples.

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
exec go run tools/upload.go -region us-east-1 -bucket gobyexample.com