summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-02-04 15:39:18 +0100
committerUlrich Müller <ulm@gentoo.org>2020-02-04 15:39:29 +0100
commit33bf67322bdacf5ab6f9800802b065c14b4cd8be (patch)
tree1744b6b14269f17f7ea62e0c456c5d59ce3109cc /app-admin/emacs-updater
parentapp-admin/emacs-updater: Remove old. (diff)
downloadgentoo-33bf67322bdacf5ab6f9800802b065c14b4cd8be.tar.gz
gentoo-33bf67322bdacf5ab6f9800802b065c14b4cd8be.tar.bz2
gentoo-33bf67322bdacf5ab6f9800802b065c14b4cd8be.zip
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>
Diffstat (limited to 'app-admin/emacs-updater')
-rw-r--r--app-admin/emacs-updater/emacs-updater-1.16.ebuild6
1 files 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 92ee3bdbd77d..25dc8ffca26e 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
}