/bin/bash -> /usr/bin/env bash
This enables NixOS users to run the scripts in tools folder. I don't think it will break compatibility with other distros or make any breaking changes.
This commit is contained in:
parent
2f7a073a1b
commit
76349f8350
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
TRAPPING=0
|
TRAPPING=0
|
||||||
trap "{ echo finishing; TRAPPING=1; }" SIGINT
|
trap "{ echo finishing; TRAPPING=1; }" SIGINT
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec go run tools/generate.go $@
|
exec go run tools/generate.go $@
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec go run tools/measure.go
|
exec go run tools/measure.go
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec go run tools/serve.go
|
exec go run tools/serve.go
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Sanity testing of the examples.
|
# Sanity testing of the examples.
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec go run tools/upload.go -region us-east-1 -bucket gobyexample.com
|
exec go run tools/upload.go -region us-east-1 -bucket gobyexample.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user