[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>
This commit is contained in:

committed by
Linus Torvalds

parent
8904591a9b
commit
f6069c5995
@ -28,7 +28,9 @@ save_tag()
|
|||||||
[ -n "$_tag" ] || error "usage: save_tag tag commit-args ..."
|
[ -n "$_tag" ] || error "usage: save_tag tag commit-args ..."
|
||||||
shift 1
|
shift 1
|
||||||
"$@" >.git/refs/tags/$_tag
|
"$@" >.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
|
# Replace unhelpful sha1 hashses with their symbolic equivalents
|
||||||
|
Reference in New Issue
Block a user