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 via email to