util/scripts/gerrit-rebase: Fix shell invocation
The single apostrophe confuses the shell that's calling the command. Change-Id: I7d3183e9a612de0121b2d208c06a45645b8d67f6 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39397 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
bf48f6ab11
commit
59e6f3c6e3
|
@ -71,7 +71,7 @@ to_matches="$(git log ${common_base}..${to} | \
|
|||
cut -d: -f2-)"
|
||||
|
||||
# start rebase process, but fail immediately by enforcing an invalid todo
|
||||
GIT_SEQUENCE_EDITOR="echo Ignore this error, it's intentional>" \
|
||||
GIT_SEQUENCE_EDITOR="echo 'Ignore this error, it works around a git-rebase limitation'>" \
|
||||
git rebase -i --onto ${to} ${from} ${to} 2>/dev/null
|
||||
|
||||
# write new rebase todo
|
||||
|
|
Loading…
Reference in New Issue