From 1daafbbefc10f2234b18b79d55b6fdafcbabedf7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 27 Jan 2021 03:21:56 +0000 Subject: [PATCH] media-gfx/hugin: fix UnnecessarySlashStrip Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- media-gfx/hugin/hugin-2019.2.0.ebuild | 4 ++-- media-gfx/hugin/hugin-2020.0.0-r1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-gfx/hugin/hugin-2019.2.0.ebuild b/media-gfx/hugin/hugin-2019.2.0.ebuild index 0981ba7e2eefd..17dcd99f5553d 100644 --- a/media-gfx/hugin/hugin-2019.2.0.ebuild +++ b/media-gfx/hugin/hugin-2019.2.0.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=6 @@ -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-2020.0.0-r1.ebuild b/media-gfx/hugin/hugin-2020.0.0-r1.ebuild index 60bec67bbd97e..564aa6501c67d 100644 --- a/media-gfx/hugin/hugin-2020.0.0-r1.ebuild +++ b/media-gfx/hugin/hugin-2020.0.0-r1.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 @@ -92,7 +92,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 }