summaryrefslogtreecommitdiff
path: root/t/t6000-lib.sh
diff options
context:
space:
mode:
authorJon Seymour <jon.seymour@gmail.com>2005-07-06 10:11:29 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 16:26:13 (GMT)
commitf6069c5995114d0fb2fba1140be5db717ff3b396 (patch)
tree90a480bb7f2f12f6a77bc76f7636143ba24685e9 /t/t6000-lib.sh
parent8904591a9b7be14e14cb91bd4de2014f9c520710 (diff)
downloadgit-f6069c5995114d0fb2fba1140be5db717ff3b396.zip
git-f6069c5995114d0fb2fba1140be5db717ff3b396.tar.gz
git-f6069c5995114d0fb2fba1140be5db717ff3b396.tar.bz2
[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/t6000-lib.sh')
-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 aa7a98a..377e8eb 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