From 5609f964fc63345aa212850cee8c389659ccd5b9 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 8 Feb 2020 17:51:15 +0100 Subject: dev-lang/smlnj: [QA] Fix UnnecessarySlashStrip Signed-off-by: David Seifert --- dev-lang/smlnj/smlnj-110.82.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev-lang/smlnj/smlnj-110.82.ebuild') diff --git a/dev-lang/smlnj/smlnj-110.82.ebuild b/dev-lang/smlnj/smlnj-110.82.ebuild index 1df1108e8973..1f7c23a57126 100644 --- a/dev-lang/smlnj/smlnj-110.82.ebuild +++ b/dev-lang/smlnj/smlnj-110.82.ebuild @@ -137,8 +137,8 @@ src_install() { SUBDIR=$(smlnj_get_libdir)/${PN} DIR=/usr/${SUBDIR} for file in bin/{*,.*}; do - [[ -f ${file} ]] && sed -e "2iSMLNJ_HOME=${EPREFIX%/}/${DIR}" \ - -e "s:${WORKDIR}:${EPREFIX%/}/${DIR}:" -i ${file} + [[ -f ${file} ]] && sed -e "2iSMLNJ_HOME=${EPREFIX}/${DIR}" \ + -e "s:${WORKDIR}:${EPREFIX}/${DIR}:" -i ${file} done dodir ${DIR}/bin exeinto ${DIR}/bin -- cgit v1.2.3-65-gdbad