1
0
mirror of https://github.com/git/git.git synced 2024-11-18 16:43:49 +01:00

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>
This commit is contained in:
Eric Wong 2006-05-29 19:03:45 -07:00 committed by Junio C Hamano
parent a746f688f1
commit 3c4c7351c0

@ -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`