test-lib: reorder and include GIT-BUILD-OPTIONS a lot earlier
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2012 05:01:35 +0000 (22:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2012 05:01:35 +0000 (22:01 -0700)
commit3c8f12c96ca09af2a0a9df9fbb9ffd25985ff597
tree9393d8bdea2aad9b590010b9dad46b2c1159032b
parentad78585eeebd8d5ac596ad4f06f549734ce9d870
test-lib: reorder and include GIT-BUILD-OPTIONS a lot earlier

This dot-sources GIT-BUILD-OPTIONS a lot earlier in test-lib.sh so
that its use of "perl" can use "$PERL_PATH" to choose the version of
Perl the user told us is suitable for our use.

This is iffy; I didn't check it very carefully, and I would not be
surprised if there are subtle breakages.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh