diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-04-04 11:35:47 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-04-04 11:35:47 +0300 |
commit | 913627183767bc7bf5668f2cfd7c412e859c2559 (patch) | |
tree | 93adaa3bcb5e51371c412657ca205e6bee3858de | |
parent | strip x86-macos keyword (diff) | |
download | tex-913627183767bc7bf5668f2cfd7c412e859c2559.tar.gz tex-913627183767bc7bf5668f2cfd7c412e859c2559.tar.bz2 tex-913627183767bc7bf5668f2cfd7c412e859c2559.zip |
do not strip slash
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r-- | scripts/texlive/tlpsrc/texlive-metapost-post-ebuild | 4 |
1 files 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 } |