Skip to content

Commit

Permalink
refactor(scripts): use /usr/bin/env bash for portability
Browse files Browse the repository at this point in the history
This commit updates the script shebang from /bin/bash to /usr/bin/env
bash, thereby improving the portability of the scripts across different
Unix-like systems. For example, NixOS and FreeBSD do not place the bash
shell in the /bin directory.

Signed-off-by: Michael Adler <michael.adler@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
michaeladler authored and jan-kiszka committed Dec 11, 2023
1 parent 4840536 commit 887f24f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/cppcheck.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# EFI Boot Guard
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# EFI Boot Guard
#
Expand Down

0 comments on commit 887f24f

Please sign in to comment.