aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 c42005df..ef093b43 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}/var/run/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}/var/run/screen/S-:g" \
+ -e 's:/local/screens/S\\-:'"${EPREFIX}"'/var/run/screen/S\\-:g' \
+ -e 's:/usr/tmp/screens/:'"${EPREFIX}"'/var/run/screen/:g' \
doc/screen.1 \
|| die