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:
parent
7b937acf17
commit
422d30117c
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch
|
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Verify what is about to be committed. Called by "git commit" with no
|
# 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
|
# arguments. The hook should exit with non-zero status after issuing an
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch
|
apt install gcc-arm-none-eabi qemu-system-arm gdb-multiarch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue