summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jon Seymour <jon.seymour@gmail.com>2005-07-06 20:11:29 +1000
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-06 09:26:13 -0700
commitf6069c5995114d0fb2fba1140be5db717ff3b396 (patch)
tree90a480bb7f2f12f6a77bc76f7636143ba24685e9 /t
parent[PATCH] Introduce unit tests for git-rev-list --bisect (diff)
downloadtgif-f6069c5995114d0fb2fba1140be5db717ff3b396.tar.xz
[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 <mrallen1@yahoo.com> Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 't')
-rw-r--r--t/t6000-lib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t6000-lib.sh b/t/t6000-lib.sh
index aa7a98a01b..377e8eb77b 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