public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kenton Groombridge" <concord@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/miniflux/
Date: Mon, 31 Oct 2022 13:41:32 +0000 (UTC)	[thread overview]
Message-ID: <1667223670.0d2de82efb7e1a2de3df481f889102f82fa728b4.concord@gentoo> (raw)

commit:     0d2de82efb7e1a2de3df481f889102f82fa728b4
Author:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 13:40:19 2022 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 13:41:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2de82e

www-apps/miniflux: fix variable quoting

Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 www-apps/miniflux/miniflux-2.0.38.ebuild | 2 +-
 www-apps/miniflux/miniflux-2.0.39.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/miniflux/miniflux-2.0.38.ebuild b/www-apps/miniflux/miniflux-2.0.38.ebuild
index 4ef790cbc12c..e13b13d7f56d 100644
--- a/www-apps/miniflux/miniflux-2.0.38.ebuild
+++ b/www-apps/miniflux/miniflux-2.0.38.ebuild
@@ -88,7 +88,7 @@ pkg_config() {
 
 	# Extract the database URL variable instead of just sourcing the config file
 	# because miniflux itself may interpret quotes as part of the URL
-	local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' ${EROOT}/etc/${PN}.conf)"
+	local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")"
 	[[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file"
 
 	DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate || die "miniflux -migrate failed. Please check the above output for errors."

diff --git a/www-apps/miniflux/miniflux-2.0.39.ebuild b/www-apps/miniflux/miniflux-2.0.39.ebuild
index 4ef790cbc12c..e13b13d7f56d 100644
--- a/www-apps/miniflux/miniflux-2.0.39.ebuild
+++ b/www-apps/miniflux/miniflux-2.0.39.ebuild
@@ -88,7 +88,7 @@ pkg_config() {
 
 	# Extract the database URL variable instead of just sourcing the config file
 	# because miniflux itself may interpret quotes as part of the URL
-	local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' ${EROOT}/etc/${PN}.conf)"
+	local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")"
 	[[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file"
 
 	DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate || die "miniflux -migrate failed. Please check the above output for errors."


             reply	other threads:[~2022-10-31 13:41 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 13:41 Kenton Groombridge [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06 22:25 [gentoo-commits] repo/gentoo:master commit in: www-apps/miniflux/ Kenton Groombridge
2025-01-06 22:25 Kenton Groombridge
2024-11-12 19:42 Kenton Groombridge
2024-11-12 19:42 Kenton Groombridge
2024-08-17 16:41 Kenton Groombridge
2024-08-17 16:41 Kenton Groombridge
2024-08-17 16:41 Kenton Groombridge
2024-06-20 22:24 Kenton Groombridge
2024-06-20 22:24 Kenton Groombridge
2024-06-20 22:24 Kenton Groombridge
2023-11-06 18:33 Kenton Groombridge
2023-11-06 18:33 Kenton Groombridge
2023-11-06 18:33 Kenton Groombridge
2023-07-18 18:07 Kenton Groombridge
2023-07-18 18:07 Kenton Groombridge
2023-07-18 18:07 Kenton Groombridge
2023-05-09  1:27 Kenton Groombridge
2023-04-25  1:55 Kenton Groombridge
2023-04-25  1:55 Kenton Groombridge
2023-04-02 15:49 Kenton Groombridge
2023-04-02 15:49 Kenton Groombridge
2023-03-15 16:33 Arthur Zamarin
2023-02-04  9:45 Sam James
2023-02-03 19:37 Kenton Groombridge
2022-12-10 22:25 Kenton Groombridge
2022-12-10 22:25 Kenton Groombridge
2022-11-28 18:50 Kenton Groombridge
2022-11-02  5:11 Jakov Smolić
2022-10-31 13:41 Kenton Groombridge
2022-10-31 13:41 Kenton Groombridge
2022-08-23 18:17 Arthur Zamarin
2022-08-21 23:10 Kenton Groombridge
2022-07-02 18:45 Kenton Groombridge
2022-05-28 19:51 Kenton Groombridge
2022-05-07 13:57 Kenton Groombridge

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=1667223670.0d2de82efb7e1a2de3df481f889102f82fa728b4.concord@gentoo \
    --to=concord@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