From f6069c5995114d0fb2fba1140be5db717ff3b396 Mon Sep 17 00:00:00 2001 From: Jon Seymour Date: Wed, 6 Jul 2005 20:11:29 +1000 Subject: [PATCH] [PATCH] Change the sed seperator in t/t6000-lib.sh. This trivial patch removes the semicolon as the sed seperator in the t/t6000-lib.sh test script and replaces it with white space. This makes BSD sed(1) much happier. Signed-off-by: Mark Allen Signed-off-by: Jon Seymour Signed-off-by: Linus Torvalds --- t/t6000-lib.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/t6000-lib.sh b/t/t6000-lib.sh index aa7a98a0..377e8eb7 100644 --- a/t/t6000-lib.sh +++ b/t/t6000-lib.sh @@ -28,7 +28,9 @@ save_tag() [ -n "$_tag" ] || error "usage: save_tag tag commit-args ..." shift 1 "$@" >.git/refs/tags/$_tag - sed_script="s/$(tag $_tag)/$_tag/g${sed_script+;}$sed_script" + + sed_script="s/$(tag $_tag)/$_tag/g +$sed_script" } # Replace unhelpful sha1 hashses with their symbolic equivalents -- 2.11.0