[PATCH] git-svn: t0001: workaround a heredoc bug in old versions of dash
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- May 30, 2006, 02:03 UTC
- Message-ID
- <11489546262736-git-send-email-normalperson@yhbt.net>
- In-Reply-To
- <20060529063543.GA8128@localdomain>
The dash installed on my Debian Sarge boxes don't seem to like <<'' as a heredoc starter. Recent versions of dash do not need this fix.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
contrib/git-svn/t/t0001-contrib-git-svn-props.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
edbca3e1b96747330a4b1459e914b07105b3bc44
diff --git a/contrib/git-svn/t/t0001-contrib-git-svn-props.sh b/contrib/git-svn/t/t0001-contrib-git-svn-props.sh index 6fa7889..23a5a2a 100644 --- a/contrib/git-svn/t/t0001-contrib-git-svn-props.sh +++ b/contrib/git-svn/t/t0001-contrib-git-svn-props.sh @@ -20,9 +20,10 @@ a_empty_cr= a_empty_crlf= cd import - cat >> kw.c <<'' + cat >> kw.c <<\EOF /* Make it look like somebody copied a file from CVS into SVN: */ /* $Id: kw.c,v 1.1.1.1 1994/03/06 00:00:00 eric Exp $ */ +EOF printf "Hello\r\nWorld\r\n" > crlf a_crlf=`git-hash-object -w crlf`
-- 1.3.2.g7d11