From 0d2de82efb7e1a2de3df481f889102f82fa728b4 Mon Sep 17 00:00:00 2001 From: Kenton Groombridge Date: Mon, 31 Oct 2022 09:40:19 -0400 Subject: www-apps/miniflux: fix variable quoting Signed-off-by: Kenton Groombridge --- 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(-) (limited to 'www-apps/miniflux') 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." -- cgit v1.2.3-65-gdbad