git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH next 1/2] Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONS

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Jun 9, 2010, 21:23 UTC
Message-ID
<nduJYSHPH3U3cC4hTqPaVi-iLDqB7pemU3zevJMNRmyDsRKmtq_gVu-G9W-She7bPSFG9LafRk0@cipher.nrlssc.navy.mil>
From: Brandon Casey <drafnel@gmail.com>

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>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 34b7dd5..b529340 100644
--- a/Makefile
+++ b/Makefile
@@ -1949,6 +1949,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 DIFF=\''$(subst ','\'',$(subst ','\'',$(DIFF)))'\' >>$@
 	@echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@
 	@echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@
-- 
1.6.6.2
Next: Brandon Casey
Message 1 of 12 in “Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONS”
  1. 1/2 Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONSBrandon Casey, Jun 9, 2010
  2. 2/2 Remove python 2.5'ismsBrandon Casey, Jun 9, 2010
  3. Sverre RabbelierJun 9, 2010
  4. Johan HerlandJun 9, 2010
  5. Sverre RabbelierJun 9, 2010
  6. 2/2 Remove python 2.5'ismsBrandon Casey, Jun 10, 2010
  7. Sverre RabbelierJun 10, 2010
  8. Michael J GruberJun 10, 2010
  9. David RiptonJun 10, 2010
  10. Michael J GruberJun 11, 2010
  11. Michael J GruberJun 10, 2010
  12. Sverre RabbelierJun 10, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.