From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/unicode-emoji/
Date: Mon, 30 Apr 2018 15:58:27 +0000 (UTC) [thread overview]
Message-ID: <1525102789.000c310d76b3f2fafb3cb5ed377ea1b80ee2c42b.floppym@gentoo> (raw)
commit: 000c310d76b3f2fafb3cb5ed377ea1b80ee2c42b
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Apr 30 14:08:07 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Apr 30 15:39:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000c310d
app-i18n/unicode-emoji: Avoid subshells.
app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild
index 8a9a211570b..68f27b9b7b1 100644
--- a/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild
+++ b/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild
@@ -28,8 +28,10 @@ src_unpack() {
src_install() {
insinto /usr/share/unicode/emoji
- local file
- for file in ${A}; do
- newins "${DISTDIR}/${file}" "$(sed -e "s/${PN%-*}-\(.*\)-${PV}/\1/" <<< "${file}")"
+ local source_file target_file
+ for source_file in ${A}; do
+ target_file="${source_file#${PN%-*}-}"
+ target_file="${target_file%-${PV}.txt}.txt"
+ newins "${DISTDIR}/${source_file}" "${target_file}"
done
}
next reply other threads:[~2018-04-30 15:58 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-30 15:58 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-15 7:26 [gentoo-commits] repo/gentoo:master commit in: app-i18n/unicode-emoji/ Akinori Hattori
2024-03-23 14:02 Akinori Hattori
2024-03-03 7:12 Sam James
2023-11-24 9:31 Sam James
2023-10-03 13:52 Akinori Hattori
2023-10-03 13:52 Akinori Hattori
2023-05-02 18:57 Arthur Zamarin
2022-11-06 1:50 Akinori Hattori
2022-08-02 18:47 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 7:48 Joonas Niilola
2021-11-21 14:02 Akinori Hattori
2021-11-20 15:34 Arthur Zamarin
2021-11-20 13:23 Akinori Hattori
2021-11-20 13:23 Akinori Hattori
2021-11-20 13:23 Akinori Hattori
2021-11-20 13:23 Akinori Hattori
2021-11-20 13:23 Akinori Hattori
2021-09-25 23:25 Sam James
2021-09-25 22:57 Vadim Misbakh-Soloviov
2021-07-24 23:43 Yixun Lan
2020-05-06 12:50 Akinori Hattori
2020-05-06 12:50 Akinori Hattori
2019-08-03 20:37 Thomas Deutschmann
2018-10-06 19:12 Sergei Trofimovich
2018-10-05 4:56 Markus Meier
2018-09-14 10:18 Tobias Klausmann
2018-09-04 18:22 Mikle Kolyada
2018-09-01 23:26 Sergei Trofimovich
2018-09-01 23:18 Sergei Trofimovich
2018-08-29 21:38 Sergei Trofimovich
2018-08-29 1:07 Thomas Deutschmann
2018-06-10 3:04 Akinori Hattori
2018-04-26 18:04 Mike Gilbert
2018-03-18 0:30 Matt Turner
2018-01-28 20:41 Markus Meier
2018-01-05 13:22 Mikle Kolyada
2017-12-28 20:34 Sergei Trofimovich
2017-12-28 18:45 Thomas Deutschmann
2017-12-21 21:54 Sergei Trofimovich
2017-09-08 20:11 Markus Meier
2017-09-07 19:28 Markus Meier
2017-08-06 0:17 Sergei Trofimovich
2017-08-06 0:06 Sergei Trofimovich
2017-08-05 21:18 Sergei Trofimovich
2017-08-01 13:32 Akinori Hattori
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=1525102789.000c310d76b3f2fafb3cb5ed377ea1b80ee2c42b.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.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