author | Brian Gernhardt <brian@gernhardtsoftware.com> | |
Thu, 5 May 2011 04:43:37 +0000 (00:43 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 May 2011 16:24:21 +0000 (09:24 -0700) | ||
commit | c01bd5a29f38e4e9fd5c03f3e1e84b88c392dd6f | |
tree | 4459a25676b63fb2167a3e5efe7276751252868f | tree | snapshot |
parent | 9b01f0038b63ccdf697b2387f4fcd4b03bd249d5 | commit | diff |
t/annotate-tests: Use echo & cat instead of sed
The use of the sed command "1i No robots allowed" caused the version
of sed in OS X to die with
sed: 1: "1i "No robots allowed"\n": command i expects \ followed by
text
Since this command was just trying to add a single line to the
beginning of the file, do the same with "echo" followed by "cat".
Unbreaks t8001 and t8002 on OS X 10.6.7
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The use of the sed command "1i No robots allowed" caused the version
of sed in OS X to die with
sed: 1: "1i "No robots allowed"\n": command i expects \ followed by
text
Since this command was just trying to add a single line to the
beginning of the file, do the same with "echo" followed by "cat".
Unbreaks t8001 and t8002 on OS X 10.6.7
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh | diff | blob | history |