coreboot-kgpe-d16/util/scripts
Yu-Ping Wu 42af60c166 util/scripts/update_submodules: Fix branch name greping
The command "git branch -a | grep -q ${branch}" may not exit with 0 when
pipefail is set. "grep -q" exits immediately with exit code 0 as soon as
a match is found. However, at that point "git branch -a" may be still
writing to the pipe, leading to SIGPIPE. When pipefail is set,
PIPESTATUS 141 will be returned. Fix the problem by not using "grep -q".

Also fix the branch name in the generated commit subject.

Change-Id: Ic07efb5e2a4f3b7bbc6e76da9e026771bc685bdb
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77085
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-08-10 12:40:54 +00:00
..
config
cross-repo-cherrypick tree: Replace `egrep` with `grep -E` 2023-04-06 19:54:44 +00:00
decode_spd.sh
description.md
dts-to-fmd.sh
find-unused-kconfig-symbols.sh
gerrit-rebase
get_maintainer.pl
maintainers.go
no-fsf-addresses.sh
parse-maintainers.pl
prepare-commit-msg.clang-format
rm_unused_code
show_platforms.sh util/scripts/show_platforms.sh: Fix reStructuredText table output 2023-05-11 16:53:23 +00:00
testsoc
ucode_h_to_bin.sh
update_submodules util/scripts/update_submodules: Fix branch name greping 2023-08-10 12:40:54 +00:00