From: Brandon Casey Date: Wed, 9 Jun 2010 21:23:59 +0000 (-0500) Subject: Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONS X-Git-Tag: v1.7.2-rc0~33^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae45732214a092baa8b78a5cea462e4a7a538165;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index d5d6565c8..7b5de0c87 100644 --- a/Makefile +++ b/Makefile @@ -1885,6 +1885,7 @@ GIT-CFLAGS: FORCE GIT-BUILD-OPTIONS: FORCE @echo SHELL_PATH=\''$(subst ','\'',$(SHELL_PATH_SQ))'\' >$@ @echo PERL_PATH=\''$(subst ','\'',$(PERL_PATH_SQ))'\' >>$@ + @echo PYTHON_PATH=\''$(subst ','\'',$(PYTHON_PATH_SQ))'\' >>$@ @echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@ @echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@ @echo NO_PERL=\''$(subst ','\'',$(subst ','\'',$(NO_PERL)))'\' >>$@