Skip to content

Commit 51f967a

Browse files
authored
scripts: make shebang more portable (#2216)
Some Linux distros (like NixOS) don't place bash in /bin/bash.
1 parent fbae1e7 commit 51f967a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

scripts/copyfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under
44
# either of:

scripts/make_prometheus_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright (c) 2020 Status Research & Development GmbH. Licensed under
44
# either of:

scripts/makedir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under
44
# either of:

wasm/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Simple build script to produce an Emscripten-based wasm version of the state
44
# sim.

wasm/build_ncli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Simple build script to produce an Emscripten-based wasm version of the state
44
# sim.

0 commit comments

Comments
 (0)