aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJon Seymour <jon.seymour@gmail.com>2005-07-06 20:11:29 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 09:26:13 -0700
commitf6069c5995114d0fb2fba1140be5db717ff3b396 (patch)
tree90a480bb7f2f12f6a77bc76f7636143ba24685e9 /t
parent8904591a9b7be14e14cb91bd4de2014f9c520710 (diff)
downloadgit-f6069c5995114d0fb2fba1140be5db717ff3b396.tar.gz
git-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 aa7a98a01..377e8eb77 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