Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/miniflux/
Date: Mon, 31 Oct 2022 13:41:36
Message-Id: 1667223670.0d2de82efb7e1a2de3df481f889102f82fa728b4.concord@gentoo
1 commit: 0d2de82efb7e1a2de3df481f889102f82fa728b4
2 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 13:40:19 2022 +0000
4 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 13:41:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2de82e
7
8 www-apps/miniflux: fix variable quoting
9
10 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
11
12 www-apps/miniflux/miniflux-2.0.38.ebuild | 2 +-
13 www-apps/miniflux/miniflux-2.0.39.ebuild | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/www-apps/miniflux/miniflux-2.0.38.ebuild b/www-apps/miniflux/miniflux-2.0.38.ebuild
17 index 4ef790cbc12c..e13b13d7f56d 100644
18 --- a/www-apps/miniflux/miniflux-2.0.38.ebuild
19 +++ b/www-apps/miniflux/miniflux-2.0.38.ebuild
20 @@ -88,7 +88,7 @@ pkg_config() {
21
22 # Extract the database URL variable instead of just sourcing the config file
23 # because miniflux itself may interpret quotes as part of the URL
24 - local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' ${EROOT}/etc/${PN}.conf)"
25 + local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")"
26 [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file"
27
28 DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate || die "miniflux -migrate failed. Please check the above output for errors."
29
30 diff --git a/www-apps/miniflux/miniflux-2.0.39.ebuild b/www-apps/miniflux/miniflux-2.0.39.ebuild
31 index 4ef790cbc12c..e13b13d7f56d 100644
32 --- a/www-apps/miniflux/miniflux-2.0.39.ebuild
33 +++ b/www-apps/miniflux/miniflux-2.0.39.ebuild
34 @@ -88,7 +88,7 @@ pkg_config() {
35
36 # Extract the database URL variable instead of just sourcing the config file
37 # because miniflux itself may interpret quotes as part of the URL
38 - local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' ${EROOT}/etc/${PN}.conf)"
39 + local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")"
40 [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file"
41
42 DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate || die "miniflux -migrate failed. Please check the above output for errors."