diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-12-20 17:25:50 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-21 18:06:36 +0000 |
commit | 250f01e7e3ce642cffaa115c8f1e7d88357bbb9a (patch) | |
tree | cca1c9264ceb814a5600b7a7866290953abf7d92 /util/release | |
parent | 3b2305eed947538b1860c208a638b5a0268a4141 (diff) | |
download | coreboot-250f01e7e3ce642cffaa115c8f1e7d88357bbb9a.tar.xz |
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>
Diffstat (limited to 'util/release')
-rwxr-xr-x | util/release/genrelnotes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/release/genrelnotes b/util/release/genrelnotes index 6d5aa522d4..9a88b49c6c 100755 --- a/util/release/genrelnotes +++ b/util/release/genrelnotes @@ -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" |