[PATCH] Change the sed seperator in t/t6000-lib.sh.
authorJon Seymour <jon.seymour@gmail.com>
Wed, 6 Jul 2005 10:11:29 +0000 (20:11 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 16:26:13 +0000 (09:26 -0700)
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>
t/t6000-lib.sh

index aa7a98a..377e8eb 100644 (file)
@@ -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