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

[PATCH] Cogito: do not clobber pre-existing $(bindir)'s mode

From
SNSean Neakums <sneakums@zork.net>
Date
Apr 26, 2005, 10:23 UTC
Message-ID
<6uwtqpj0oy.fsf@zork.zork.net>
Index: Makefile
===================================================================
--- f262000f302b749e485f5eb971e6aabefbb85680/Makefile  (mode:100644 sha1:4f01bbbbb3fd0e53e9ce968f167b6dae68fcfa92)
+++ uncommitted/Makefile  (mode:100644)
@@ -95,7 +95,7 @@
 	@chmod +x $@
 
 install: $(PROG) $(SCRIPTS) $(SCRIPT) $(GEN_SCRIPT)
-	install -m755 -d $(DESTDIR)$(bindir)
+	[ ! -d $(DESTDIR)$(bindir) ] && install -m755 -d $(DESTDIR)$(bindir)
 	install $(PROG) $(SCRIPTS) $(SCRIPT) $(GEN_SCRIPT) $(DESTDIR)$(bindir)
 
 clean:
-- 
Dag vijandelijk luchtschip de huismeester is dood
Next: Sean Neakums
Message 1 of 2 in “Cogito: do not clobber pre-existing $(bindir)'s mode”
  1. Cogito: do not clobber pre-existing $(bindir)'s modeSean Neakums, Apr 26, 2005
  2. Sean NeakumsApr 26, 2005

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.