t0021: use $SHELL_PATH for the filter script
commitfa7151a61edf585abdbb3d2831e7992bf3925671
authorJohannes Sixt <j6t@kdbg.org>
Fri, 1 Jan 2010 22:14:06 +0000 (1 23:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jan 2010 07:40:43 +0000 (5 23:40 -0800)
treedf0ecf18d33d4a12eb100b5e66710bd748846e40
parent8dba1e634af1d973a47fca616a63e7062a256790
t0021: use $SHELL_PATH for the filter script

On Windows, we need the shbang line to correctly invoke shell scripts via
a POSIX shell, except when the script is invoked via 'sh -c' because sh (a
bash) does "the right thing".  But the clean and smudge filters will not
always be invoked via 'sh -c'; to futureproof, we should mark the the one
in t0021-conversion with #!$SHELL_PATH.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh