/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:
niyumard 2023-04-19 16:55:56 +03:30
parent 2f7a073a1b
commit 76349f8350
8 changed files with 8 additions and 8 deletions

View File

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

View File

@ -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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Sanity testing of the examples. # 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 exec go run tools/upload.go -region us-east-1 -bucket gobyexample.com