From: Sam James <sam@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: base-system@gentoo.org, kde@gentoo.org
Subject: Re: [gentoo-dev] [PATCH] cmake.eclass: workaround S=${WORKDIR} creating builddir above ${WORKDIR}
Date: Mon, 26 Jun 2023 16:24:19 +0100 [thread overview]
Message-ID: <87edly2qmf.fsf@gentoo.org> (raw)
In-Reply-To: <u1qhypl2g@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
Ulrich Mueller <ulm@gentoo.org> writes:
>>>>>> On Mon, 26 Jun 2023, Sam James wrote:
>
>> +
>> + # Avoid creating ${WORKDIR}_build (which is above WORKDIR).
>> + # TODO: For EAPI > 8, we should ban S=WORKDIR for CMake.
>> + # See bug #889420.
>> + if [[ ${S} == ${WORKDIR} && ${BUILD_DIR} == ${WORKDIR}_build ]] ; then
>
> I'd suggest adding quotes to the RHS of the expression, to prevent
> globbing.
I'm fine with quoting the RHS, but I don't think it's worth making the
other changes given this works and it's already an edge case.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]
prev parent reply other threads:[~2023-06-26 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-26 9:57 [gentoo-dev] [PATCH] cmake.eclass: workaround S=${WORKDIR} creating builddir above ${WORKDIR} Sam James
2023-06-26 10:36 ` Ulrich Mueller
2023-06-26 10:45 ` Jaco Kroon
2023-06-26 11:14 ` Ulrich Mueller
2023-06-26 15:24 ` Sam James [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=87edly2qmf.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=base-system@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=kde@gentoo.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