Skip to content

Commit

Permalink
[PATCH] Change the sed seperator in t/t6000-lib.sh.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Seymour authored and Linus Torvalds committed Jul 6, 2005
1 parent 8904591 commit f6069c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/t6000-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6069c5

Please sign in to comment.