dev-lang/mlton: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:51:06 +0000 (17:51 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:51:06 +0000 (17:51 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
dev-lang/mlton/mlton-20180207.ebuild

index b8df540a09ff00a22b228c90faa4c40b4e38cf67..c4ff66ee2e6f75934c44eea0fdf44dedcf0e8276 100644 (file)
@@ -46,7 +46,7 @@ mlton_subdir() {
 }
 
 mlton_dir() {
-       echo "${EPREFIX%/}"/usr/$(mlton_subdir)
+       echo "${EPREFIX}"/usr/$(mlton_subdir)
 }
 
 mlton_memory_requirement() {
@@ -137,7 +137,7 @@ mlton_create_bin_stubs() {
        for i in ${BIN_STUBS[*]}; do
                cat <<- EOF >> ${i}
                        #!/bin/bash
-                       exec ${EPREFIX%/}/usr/${SUBDIR}/bin/${i} \$*
+                       exec ${EPREFIX}/usr/${SUBDIR}/bin/${i} \$*
                EOF
                chmod a+x ${i} || die
        done