Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] eutils.eclass: make_desktop_entry, replace unnecessary extglob
Date: Tue, 25 Apr 2017 18:45:36
Message-Id: 1493145919.1582.1.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] eutils.eclass: make_desktop_entry, replace unnecessary extglob by "Michał Górny"
1 On pią, 2017-04-14 at 19:25 +0200, Michał Górny wrote:
2 > Replace the unnecessary use of extglob to strip file suffix
3 > in make_desktop_entry with a plain ${x%.*}. This is pretty much
4 > equivalent since match to one of the pre-defined suffixes is already
5 > confirmed via the preceding conditional, and avoiding repeating
6 > the suffix list twice makes the code simpler.
7 > ---
8 > eclass/eutils.eclass | 4 +---
9 > 1 file changed, 1 insertion(+), 3 deletions(-)
10 >
11
12 Merged now.
13
14 --
15 Best regards,
16 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature