summaryrefslogtreecommitdiff
path: root/util/release
diff options
context:
space:
mode:
Diffstat (limited to 'util/release')
-rwxr-xr-xutil/release/genrelnotes2
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"