summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:51:15 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:51:15 +0100
commit5609f964fc63345aa212850cee8c389659ccd5b9 (patch)
tree14b559e43115a9a5d7859e307fbbc0b7e1c9da42
parentdev-lang/nqp: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-5609f964fc63345aa212850cee8c389659ccd5b9.tar.gz
gentoo-5609f964fc63345aa212850cee8c389659ccd5b9.tar.bz2
gentoo-5609f964fc63345aa212850cee8c389659ccd5b9.zip
dev-lang/smlnj: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--dev-lang/smlnj/smlnj-110.82.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/smlnj/smlnj-110.82.ebuild b/dev-lang/smlnj/smlnj-110.82.ebuild
index 1df1108e897..1f7c23a5712 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