sys-devel/ct-ng: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:23:41 +0000 (17:23 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:23:41 +0000 (17:23 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
sys-devel/ct-ng/ct-ng-1.24.0.ebuild

index ebcbb34f2c4835b746ec70245aab56a0f4434fee..3bb25cdbe1c462e6134b60bf2ce0167e20be28f6 100644 (file)
@@ -21,7 +21,7 @@ RDEPEND="net-misc/curl
 S="${WORKDIR}/crosstool-ng-${PV}"
 
 src_install() {
-       emake DESTDIR="${D%/}" install
+       emake DESTDIR="${D}" install
        use doc && mv "${D}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} \
                "${D}"/usr/share/doc/
        rm -rf "${D}"/usr/share/doc/crosstool-ng