@matheusbsbs / matheus-bagliano / commits / ae45732214
Fork 0

Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONS

The PYTHON_PATH environment variable is not set when running test scripts manually i.e. when not using 'make test'. Scripts which attempt to use this variable will fail. So add it to the list of variables written to the GIT-BUILD-OPTIONS file so that the test suite will import it when running the test scripts. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Jun 9, 2010 at 16:23 UTC ae45732214a092baa8b78a5cea462e4a7a538165
1 file changed +1
Makefile
+1
@@ -1885,6 +1885,7 @@ GIT-CFLAGS: FORCE
1885 GIT-BUILD-OPTIONS: FORCE
1886 @echo SHELL_PATH=\''$(subst ','\'',$(SHELL_PATH_SQ))'\' >$@
1887 @echo PERL_PATH=\''$(subst ','\'',$(PERL_PATH_SQ))'\' >>$@
1888 + @echo PYTHON_PATH=\''$(subst ','\'',$(PYTHON_PATH_SQ))'\' >>$@
1889 @echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@
1890 @echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@
1891 @echo NO_PERL=\''$(subst ','\'',$(subst ','\'',$(NO_PERL)))'\' >>$@