Re: [PATCH jh/notes] t3301-notes: insert a shbang line in ./fake_editor.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes:

> diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
> index 90178f9..37b9687 100755
> --- a/t/t3301-notes.sh
> +++ b/t/t3301-notes.sh
> @@ -8,6 +8,7 @@ test_description='Test commit notes'
>  . ./test-lib.sh
>
>  cat > fake_editor.sh << \EOF
> +#!/bin/sh
>  echo "$MSG" > "$1"
>  echo "$MSG" >& 2
>  EOF

Thanks.

Shouldn't that be "#!$SHELL_PATH", though?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]