Use bash to run shell scripts

Use `bash` instead of `sh` to run shell scripts.

We would like to support Nix users who do not typically have any shell
other than `sh` at a known path, therefore use `/usr/bin/env bash`.
This commit is contained in:
Tobin C. Harding 2024-01-29 06:58:05 +11:00
parent 7b937acf17
commit 422d30117c
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
7 changed files with 7 additions and 7 deletions

View File

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

View File

@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env bash
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# Verify what is about to be committed. Called by "git commit" with no
# arguments. The hook should exit with non-zero status after issuing an

View File

@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env bash
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch

View File

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