Yidi Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/87268?usp=email )
Change subject: util/scripts/update_submodules: Fix "branch: unbound variable" error ......................................................................
util/scripts/update_submodules: Fix "branch: unbound variable" error
After CB:86803, ${branch} variable is no longer valid. Use ${branch_name} instead ${branch} for generating the commit message.
TEST=./util/scripts/update_submodules -R 3rdparty/arm-trusted-firmware/ The script generates the new commit successfully.
Change-Id: Ia528379b8721e6d419984bab28de7cf427e42423 Signed-off-by: Yidi Lin yidilin@chromium.org --- M util/scripts/update_submodules 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/87268/1
diff --git a/util/scripts/update_submodules b/util/scripts/update_submodules index cbf2364..9eeb383 100755 --- a/util/scripts/update_submodules +++ b/util/scripts/update_submodules @@ -132,7 +132,7 @@ cd "${TOP}" || exit 1 git add "${submodule}" > /dev/null 2>&1 || exit 1 git commit -s -F- > /dev/null 2>&1 <<-EOF - Update ${submodule##*/} submodule to upstream ${branch##*/} + Update ${submodule##*/} submodule to upstream ${branch_name##*/}
Updating from commit id ${initial_commit_id}: $initial_commit_description