summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-08-22 13:07:28 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-08-22 13:07:28 +0200
commit25f788e190ec53883d125bc2c8323925e67c0361 (patch)
tree8957a6c2c5f23cfd5396a2f53f1a7cda09ccda97 /sci-mathematics/rstudio
parentsci-mathematics/spass: fix missing slashes (diff)
downloadgentoo-25f788e190ec53883d125bc2c8323925e67c0361.tar.gz
gentoo-25f788e190ec53883d125bc2c8323925e67c0361.tar.bz2
gentoo-25f788e190ec53883d125bc2c8323925e67c0361.zip
sci-mathematics/rstudio: fix slashes
Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sci-mathematics/rstudio')
-rw-r--r--sci-mathematics/rstudio/rstudio-1.1.463-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-mathematics/rstudio/rstudio-1.1.463-r1.ebuild b/sci-mathematics/rstudio/rstudio-1.1.463-r1.ebuild
index 86b6db8da4ba..cc1c95318e3a 100644
--- a/sci-mathematics/rstudio/rstudio-1.1.463-r1.ebuild
+++ b/sci-mathematics/rstudio/rstudio-1.1.463-r1.ebuild
@@ -164,12 +164,12 @@ src_prepare() {
CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die
# On Gentoo the rstudio-server configuration file is /etc/conf.d/rstudio-server.conf
- sed -e "s@/etc/rstudio/rserver.conf@${EROOT}etc/conf.d/rstudio-server.conf@" \
+ sed -e "s@/etc/rstudio/rserver.conf@${EROOT}/etc/conf.d/rstudio-server.conf@" \
-i src/cpp/server/ServerOptions.cpp \
|| die
# Set the rsession.conf file location for Gentoo prefix
- sed -e "s@/etc/rstudio/rsession.conf@${EROOT}etc/rstudio/rsession.conf@" \
+ sed -e "s@/etc/rstudio/rsession.conf@${EROOT}/etc/rstudio/rsession.conf@" \
-i src/cpp/session/SessionOptions.cpp \
|| die
@@ -225,7 +225,7 @@ src_install() {
dodir /etc/rstudio
insinto /etc/rstudio
doins "${FILESDIR}"/rsession.conf
- dosym "${ROOT}etc/conf.d/rstudio-server.conf" "${ROOT}etc/rstudio/rserver.conf"
+ dosym "${EROOT}/etc/conf.d/rstudio-server.conf" "/etc/rstudio/rserver.conf"
if use dedicated || use server; then
dopamd src/cpp/server/extras/pam/rstudio
newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server