commit:     33bf67322bdacf5ab6f9800802b065c14b4cd8be
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  4 14:39:18 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Feb  4 14:39:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bf6732

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 <AT> gentoo.org>

 app-admin/emacs-updater/emacs-updater-1.16.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-admin/emacs-updater/emacs-updater-1.16.ebuild 
b/app-admin/emacs-updater/emacs-updater-1.16.ebuild
index 92ee3bdbd77..25dc8ffca26 100644
--- a/app-admin/emacs-updater/emacs-updater-1.16.ebuild
+++ b/app-admin/emacs-updater/emacs-updater-1.16.ebuild
@@ -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
 }

Reply via email to