mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta: Set 'pipefail' option correctly in shell scripts
This needs '-o' to work correctly. Also update the shebang to bash in some scripts as shellcheck was complaining about pipefail not being a POSIX shell thing otherwise.
This commit is contained in:
committed by
Andreas Kling
parent
5122f98198
commit
a56b3cbf7c
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e pipefail
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||
cd "$script_path/.."
|
||||
|
||||
Reference in New Issue
Block a user