public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: [PATCH] desktop.eclass: Sanitize filename of desktop entry.
Date: Wed, 25 Mar 2020 09:29:04 +0100	[thread overview]
Message-ID: <u8sjozvlb@gentoo.org> (raw)
In-Reply-To: <ud090zvte@gentoo.org> ("Ulrich Müller"'s message of "Wed, 25 Mar 2020 09:24:13 +0100")

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

>>>>> On Wed, 25 Mar 2020, Ulrich Müller wrote:

> +	local desktop="${exec%%[[:space:]]*}"
> +	desktop="${T}/${desktop##*/}-${desktop_name}.desktop"

Alternatively, we could use the executable's basename only, without
appending PN (but still appending SLOT if different from 0). Or do we
really expect collisions between different packages that install
executables with the same name?

What do you think?

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

      reply	other threads:[~2020-03-25  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25  8:24 [gentoo-dev] [PATCH] desktop.eclass: Sanitize filename of desktop entry Ulrich Müller
2020-03-25  8:29 ` Ulrich Mueller [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=u8sjozvlb@gentoo.org \
    --to=ulm@gentoo.org \
    --cc=gentoo-dev@lists.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