commit:     7c152919b92cb79bddacbc668cc649eb17ef1dfb
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:55:14 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:55:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=7c152919

app-admin/emacs-updater: Sync from gentoo repository

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

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

diff --git a/app-admin/emacs-updater/emacs-updater-9999.ebuild 
b/app-admin/emacs-updater/emacs-updater-9999.ebuild
index 58a609b..44a1e89 100644
--- a/app-admin/emacs-updater/emacs-updater-9999.ebuild
+++ b/app-admin/emacs-updater/emacs-updater-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,8 +31,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