mirror of
https://github.com/git/git
synced 2024-09-12 21:04:12 +00:00
[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:
parent
8904591a9b
commit
f6069c5995
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue