commit:     913627183767bc7bf5668f2cfd7c412e859c2559
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 08:35:47 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 08:35:47 2021 +0000
URL:        https://gitweb.gentoo.org/proj/tex.git/commit/?id=91362718

do not strip slash

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 scripts/texlive/tlpsrc/texlive-metapost-post-ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/texlive/tlpsrc/texlive-metapost-post-ebuild 
b/scripts/texlive/tlpsrc/texlive-metapost-post-ebuild
index 4329cf0..785ef63 100644
--- a/scripts/texlive/tlpsrc/texlive-metapost-post-ebuild
+++ b/scripts/texlive/tlpsrc/texlive-metapost-post-ebuild
@@ -5,8 +5,8 @@
 # created and cause collisions.
 
 pkg_setup() {
-       if [ -f 
"${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
+       if [ -f 
"${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
                einfo "Removing 
${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
-               rm -f 
"${ROOT%/}${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
+               rm -f 
"${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
        fi
 }

Reply via email to