Git development
 help / color / mirror / Atom feed
* [PATCH] Cogito: do not clobber pre-existing $(bindir)'s mode
@ 2005-04-26 10:23 Sean Neakums
  2005-04-26 10:52 ` Sean Neakums
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Neakums @ 2005-04-26 10:23 UTC (permalink / raw)
  To: git


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-26 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 10:23 [PATCH] Cogito: do not clobber pre-existing $(bindir)'s mode Sean Neakums
2005-04-26 10:52 ` Sean Neakums

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox