From: Jeff Epler <jepler@unpythonic.net>
To: TJ <git@iam.tj>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/1] Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA.
Date: Thu, 31 Jan 2013 07:25:27 -0600 [thread overview]
Message-ID: <20130131132526.GA10622@unpythonic.net> (raw)
In-Reply-To: <5109D230.2030101@iam.tj>
I was not familiar with this behavior of 'install -d' that it tries to change
the mode of an existing directory, but GNU coreutils 8.12.197-032bb
certainly behaves as TJ reports.
As a possible alternative, what about
[ -d $(DESTDIR)$(main1dir) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
so that $(INSTALL) is not called when the target directory exists
already.
Jeff
next prev parent reply other threads:[~2013-01-31 13:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-31 2:08 [PATCH 1/1] Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA TJ
2013-01-31 13:25 ` Jeff Epler [this message]
2013-01-31 15:48 ` Junio C Hamano
2013-01-31 15:51 ` Junio C Hamano
2013-01-31 16:55 ` TJ
2013-02-25 6:54 ` Junio C Hamano
2013-02-25 14:46 ` TJ
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=20130131132526.GA10622@unpythonic.net \
--to=jepler@unpythonic.net \
--cc=git@iam.tj \
--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;
as well as URLs for NNTP newsgroup(s).