tools: use /usr/bin/env for bash/sh invocation

This implements GitHub PR #115 on the current repo state. /usr/bin/env
is already used for other (cmake/python/etc) invocations, and this PR
brings bash/sh into line with that for slightly improved portability.

Co-authored-by: Douglas Wilson <douglas.wilson@gmail.com>
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein
2021-08-25 17:13:39 +10:00
committed by Gerwin Klein
parent 7f562e1633
commit 00879fa943
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
# #

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
# #
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
# #