summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-28 17:41:52 +0000
committerSam James <sam@gentoo.org>2021-01-28 17:42:07 +0000
commitb7e0856a002184db6a912f00836d828f9fa17ec5 (patch)
treee2c32a4e62530df4de5fc07154a8034a6adc56fe /media-gfx
parentmedia-libs/tiff: stable 4.2.0 for hppa, bug #766719 (diff)
downloadgentoo-b7e0856a002184db6a912f00836d828f9fa17ec5.tar.gz
gentoo-b7e0856a002184db6a912f00836d828f9fa17ec5.tar.bz2
gentoo-b7e0856a002184db6a912f00836d828f9fa17ec5.zip
media-gfx/hugin: fix UnnecessarySlashStrip
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/hugin/hugin-2019.2.0.ebuild2
-rw-r--r--media-gfx/hugin/hugin-9999.ebuild4
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 17dcd99f5553..551c513f4c09 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 0c9e3ac20a0f..ee7505448f4c 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
}