commit: b7e0856a002184db6a912f00836d828f9fa17ec5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jan 28 17:41:52 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 28 17:42:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e0856a
media-gfx/hugin: fix UnnecessarySlashStrip Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/hugin/hugin-2019.2.0.ebuild | 2 +- media-gfx/hugin/hugin-9999.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/media-gfx/hugin/hugin-2019.2.0.ebuild b/media-gfx/hugin/hugin-2019.2.0.ebuild index 17dcd99f555..551c513f4c0 100644 --- a/media-gfx/hugin/hugin-2019.2.0.ebuild +++ b/media-gfx/hugin/hugin-2019.2.0.ebuild @@ -99,7 +99,7 @@ src_install() { *) dir=${lang/-/_};; esac if ! use l10n_${lang} ; then - rm -r "${ED}"/usr/share/locale/${dir} || die + rm -r "${ED%/}"/usr/share/locale/${dir} || die fi done } diff --git a/media-gfx/hugin/hugin-9999.ebuild b/media-gfx/hugin/hugin-9999.ebuild index 0c9e3ac20a0..ee7505448f4 100644 --- a/media-gfx/hugin/hugin-9999.ebuild +++ b/media-gfx/hugin/hugin-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -90,7 +90,7 @@ src_install() { *) dir=${lang/-/_};; esac if ! use l10n_${lang} ; then - rm -r "${ED%/}"/usr/share/locale/${dir} || die + rm -r "${ED}"/usr/share/locale/${dir} || die fi done }