From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org, Nicolas Schier <n.schier@avm.de>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Nicolas Schier <nicolas@fjasle.eu>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] kbuild: resolve symlinks for O= properly
Date: Mon, 22 Jan 2024 15:12:03 +0100 [thread overview]
Message-ID: <20240122141203.CWe3n5rG@linutronix.de> (raw)
In-Reply-To: <20231215160637.842748-1-masahiroy@kernel.org>
On 2023-12-16 01:06:37 [+0900], Masahiro Yamada wrote:
…
> Using the physical directory structure for the O= option seems more
> reasonable.
>
> The comment says "expand a shell special character '~'", but it has
> already been expanded to the home directory in the command line.
It might have been expanded, it might have not been expanded. Having a
shell script:
| #!/bin/sh
|
| exec make O=~/scratch/mk-check defconfig
with bin/sh = dash results in:
| make[1]: Entering directory '/home/bigeasy/linux/~/scratch/mk-check'
while bin/sh = bash expands the ~ properly before for O=. Would it be
too much to ask, to expand the ~?
Sebastian
next prev parent reply other threads:[~2024-01-22 14:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 16:06 Masahiro Yamada
2024-01-22 14:12 ` Sebastian Andrzej Siewior [this message]
2024-01-22 14:59 ` Nicolas Schier
2024-01-22 15:05 ` Sebastian Andrzej Siewior
2024-01-22 15:27 ` Nicolas Schier
2024-01-22 16:45 ` David Laight
2024-01-26 13:56 ` Masahiro Yamada
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=20240122141203.CWe3n5rG@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=n.schier@avm.de \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nicolas@fjasle.eu \
/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
all inboxes | Powered by JetHome®