From ea47064df4bef554ecfefa6db4c0ecca04d519a0 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Fri, 16 Oct 2020 15:53:19 -0400 Subject: [PATCH] fix sed in context test Previous solution included in incorrect 's' in the sed line intended to remove .repo/repo git from the build context. Closes-bug: 1893243 Change-Id: I902844f7e3b0f487e4f062d804880e7ad7363b09 Signed-off-by: Scott Little --- build-tools/git-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/git-utils.sh b/build-tools/git-utils.sh index a33bb503..d6c65261 100755 --- a/build-tools/git-utils.sh +++ b/build-tools/git-utils.sh @@ -380,7 +380,7 @@ git_test_context () { # Limit search to last 500 commits in the interest of speed. # I don't expect to be using contexts more than a few weeks old. cat "$context" | \ - sed -e "s/\.repo\/repo/d" \ + sed -e "/\.repo\/repo/d" \ -e "s#checkout -f \([a-e0-9]*\)#rev-list --max-count=500 HEAD | \ grep \1#" > $query