зеркало из https://github.com/microsoft/git.git
[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:
Родитель
8904591a9b
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче