Re: [PATCH 1/5] t0061: Fix incorrect indentation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 24, 2012, 22:39 UTC
- Message-ID
- <7v8vkw3eto.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1327444346-6243-2-git-send-email-fransklaver@gmail.com>
Frans Klaver <fransklaver@gmail.com> writes:
> The hello.sh script started with <tab>#!, 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 "<<EOF"?
Show 21 quoted lines
> required for this specific test. > > Signed-off-by: Frans Klaver <fransklaver@gmail.com> > --- > 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