From 59e6f3c6e355a93f7eb7c6f919b62874f97ff3ec Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 9 Mar 2020 10:15:39 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39397 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- util/scripts/gerrit-rebase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/scripts/gerrit-rebase') diff --git a/util/scripts/gerrit-rebase b/util/scripts/gerrit-rebase index d051103b60..27ee3c7842 100755 --- a/util/scripts/gerrit-rebase +++ b/util/scripts/gerrit-rebase @@ -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 -- cgit v1.2.3