summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-05-29 19:03:45 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-29 23:14:49 -0700
commit3c4c7351c030a18fa94076ffe62f534f890e9602 (patch)
treec7f46d63bc51ff3061f55080ade23fed7591edaf /contrib
parenta746f688f130ea56a6a01dcfd8c51ac42ef1b633 (diff)
downloadgit-3c4c7351c030a18fa94076ffe62f534f890e9602.tar.gz
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/git-svn/t/t0001-contrib-git-svn-props.sh3
1 files changed, 2 insertions, 1 deletions
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 6fa7889e9a..23a5a2a223 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`