summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-10 15:50:56 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-10 15:51:13 +0200
commit92d4dc9898f9066458248b332e258a56eddee4ff (patch)
treef07dd2080dc6577940f9ca9405ae231820a50311 /app-misc/screen/screen-9999.ebuild
parentkde-apps: Drop KDE Applications 18.04.0 (diff)
downloadgentoo-92d4dc9898f9066458248b332e258a56eddee4ff.tar.gz
gentoo-92d4dc9898f9066458248b332e258a56eddee4ff.tar.bz2
gentoo-92d4dc9898f9066458248b332e258a56eddee4ff.zip
app-misc/screen: Fix sed script, add one more.
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'app-misc/screen/screen-9999.ebuild')
-rw-r--r--app-misc/screen/screen-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild
index 115c11607624..c7c5f5638521 100644
--- a/app-misc/screen/screen-9999.ebuild
+++ b/app-misc/screen/screen-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -52,7 +52,8 @@ src_prepare() {
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
- -e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
+ -e 's:/local/screens/S\\-:'"${EPREFIX}"'/tmp/screen/S\\-:g' \
+ -e 's:/usr/tmp/screens/:'"${EPREFIX}"'/tmp/screen/:g' \
doc/screen.1 \
|| die