app-text/calibre: fix ${EPREFIX} missing trailing slash
authorZac Medico <zmedico@gentoo.org>
Sun, 26 Jan 2020 20:00:03 +0000 (12:00 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 26 Jan 2020 20:05:42 +0000 (12:05 -0800)
Reported-by: Michał Górny <mgorny@gentoo.org>
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-text/calibre/calibre-3.48.0-r1.ebuild
app-text/calibre/calibre-4.9.1-r1.ebuild
app-text/calibre/calibre-4.9.1.ebuild

index 438e9707f6071ec63f13a5e367193f13d17351d7..750bc132087d613d0b341fa517f7d91a71711b55 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -203,7 +203,7 @@ src_install() {
        cd "${ED}"/usr/share/calibre/fonts/liberation || die
        local x
        for x in * ; do
-               [[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
+               [[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
                ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
        done
 
index a158ed8ff2e7f7b0fd89335f5048d00c026e60e9..96f088d77812d80fa297dbfc8fb57b99cf481e46 100644 (file)
@@ -211,7 +211,7 @@ src_install() {
        cd "${ED}"/usr/share/calibre/fonts/liberation || die
        local x
        for x in * ; do
-               [[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
+               [[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
                ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
        done
 
index 3049f662198d983d2a352be5cde470ba3be8bc31..1b5faed75d37a6349e5d6d12db653ec1e99182d9 100644 (file)
@@ -208,7 +208,7 @@ src_install() {
        cd "${ED}"/usr/share/calibre/fonts/liberation || die
        local x
        for x in * ; do
-               [[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
+               [[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
                ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
        done