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

[PATCH 1/2] Use --force to overwrite python files

From
PRPavel Roskin <proski@gnu.org>
Date
Aug 31, 2007, 03:04 UTC
Message-ID
<20070831030449.22554.49699.stgit@dv.roinet.com>

Installing StGIT with "make install" is not working properly if another version is installed. Files under ~/lib/python2.5/site-packages/stgit are not updated.

This causes unexpected problems if switching between different branches of StGIT.

Using "--force" ensures that the files in the tree are installed even if the already installed files are newer.

Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 8671209..c890b8e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ all:
 	$(PYTHON) setup.py build
 
 install:
-	$(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
+	$(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
 
 doc:
 	cd Documentation && $(MAKE) all
Next: Pavel Roskin
Message 1 of 2 in “Use --force to overwrite python files”
  1. 1/2 Use --force to overwrite python filesPavel Roskin, Aug 31, 2007
  2. 2/2 Fix refresh -esPavel Roskin, Aug 31, 2007

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.