* [PATCH] Change the sed seperator in t/t6000-lib.sh.
@ 2005-07-01 15:02 Jon Seymour
0 siblings, 0 replies; only message in thread
From: Jon Seymour @ 2005-07-01 15:02 UTC (permalink / raw)
To: git; +Cc: torvalds, jon.seymour
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>
---
I've applied this to the code that was moved from t/t6001... into t/t6000-lib.sh
---
t/t6000-lib.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
d88e09bab26e42f0777b4244a62b21c37c01ceea
diff --git a/t/t6000-lib.sh b/t/t6000-lib.sh
--- a/t/t6000-lib.sh
+++ b/t/t6000-lib.sh
@@ -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
------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-01 14:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 15:02 [PATCH] Change the sed seperator in t/t6000-lib.sh Jon Seymour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox