t/Makefile: Can't include GIT-BUILD-OPTIONS, it's a .sh
commit4678a5cd71312f27b77228ddc398a6f0fa2e88a0
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 8 Aug 2010 14:49:26 +0000 (8 14:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 19:42:14 +0000 (18 12:42 -0700)
treeabc68f439cd7786b066cc5a05f785cf2a1717ea0
parentd15e9ebc5c8a627844275e02a2b15a101ce46d4a
t/Makefile: Can't include GIT-BUILD-OPTIONS, it's a .sh

Change the smoke testing portion of t/Makefile not to include
GIT-BUILD-OPTIONS. It's a shellscript, not a Makefile snippet, so it
had the nasty side-effect of sneaking e.g. SHELL_PATH = '/bin/sh'
(with quotes) everywhere.

Just add our own PERL_PATH variable as a workaround. The t/Makefile
already has e.g. an equivalent SHELL_PATH and TAR option which
duplicate the definitions in GIT-BUILD-OPTIONS.

Reported-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile