From: Sean Neakums <sneakums@zork.net>
To: git@vger.kernel.org
Subject: Re: [PATCH] Cogito: do not clobber pre-existing $(bindir)'s mode
Date: Tue, 26 Apr 2005 11:52:21 +0100 [thread overview]
Message-ID: <6usm1dizdm.fsf@zork.zork.net> (raw)
In-Reply-To: <6uwtqpj0oy.fsf@zork.zork.net> (Sean Neakums's message of "Tue, 26 Apr 2005 11:23:57 +0100")
Here is one that actually works.
That'll teach me to be tricky. (It won't.)
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
prev parent reply other threads:[~2005-04-26 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6usm1dizdm.fsf@zork.zork.net \
--to=sneakums@zork.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox