From: Junio C Hamano Date: Tue, 24 Jan 2012 22:39:47 GMT Subject: Re: [PATCH 1/5] t0061: Fix incorrect indentation Message-ID: <7v8vkw3eto.fsf@alter.siamese.dyndns.org> In-Reply-To: <1327444346-6243-2-git-send-email-fransklaver@gmail.com> Frans Klaver writes: > The hello.sh script started with #!, which is not considered a > correct hash-bang line. Isn't that exactly the reason why we start the here text with "<<-EOF", not the usual "< required for this specific test. > > Signed-off-by: Frans Klaver > --- > t/t0061-run-command.sh | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh > index 8d4938f..95e89bc 100755 > --- a/t/t0061-run-command.sh > +++ b/t/t0061-run-command.sh > @@ -8,8 +8,8 @@ test_description='Test run command' > . ./test-lib.sh > > cat >hello-script <<-EOF > - #!$SHELL_PATH > - cat hello-script > +#!$SHELL_PATH > +cat hello-script > EOF > >empty