app-admin/emacs-updater: Remove unnecessary removal of trailing slash.

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2020-02-04 15:39:18 +01:00
parent 37ac9190de
commit 33bf67322b

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,8 +25,8 @@ src_prepare() {
fi
if [[ -n ${EPREFIX} ]]; then
sed -i -e "1s:/:${EPREFIX%/}/:" \
-e "s:^\([[:upper:]]*=\)/:\1${EPREFIX%/}/:" \
sed -i -e "1s:/:${EPREFIX}/:" \
-e "s:^\([[:upper:]]*=\)/:\1${EPREFIX}/:" \
emacs-updater || die
fi
}