git-svn: t0001: workaround a heredoc bug in old versions of dash
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> Signed-off-by: Junio C Hamano <junkio@cox.net>
Eric Wong committed
May 29, 2006 at 19:03 UTC
3c4c7351c030a18fa94076ffe62f534f890e9602
1 file changed
+2
-1
contrib/git-svn/t/t0001-contrib-git-svn-props.sh
+2
-1
@@ -20,9 +20,10 @@ a_empty_cr=
20
a_empty_crlf=
21
22
cd import
23
- cat >> kw.c <<''
23
+ cat >> kw.c <<\EOF
24
/* Make it look like somebody copied a file from CVS into SVN: */
25
/* $Id: kw.c,v 1.1.1.1 1994/03/06 00:00:00 eric Exp $ */
26
+EOF
27
28
printf "Hello\r\nWorld\r\n" > crlf
29
a_crlf=`git-hash-object -w crlf`