util/release: Don't assume the source is in a directory called coreboot
Change-Id: I384ff2f01b38916851522411d0c25c49793fe480 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/30343 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
3b2305eed9
commit
250f01e7e3
|
@ -410,7 +410,7 @@ printf "Submodules\n----------\n" >> "$LOGFILE"
|
|||
for module in $(git submodule --quiet foreach pwd); do
|
||||
name=$(basename "$module")
|
||||
# shellcheck disable=SC2001
|
||||
path=$(echo "$module" | sed 's|.*coreboot||')
|
||||
path=${module#$PWD}
|
||||
old_version=$(echo "${name^^}_OLD_VERSION" | sed 's/-/_/g')
|
||||
new_version=$(echo "${name^^}_NEW_VERSION" | sed 's/-/_/g')
|
||||
get_log_submodule "${!old_version}" "${!new_version}" "$path"
|
||||
|
|
Loading…
Reference in New Issue