You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/02/20 10:23:17 UTC

[incubator-dlab] branch EPMCDLAB-1186 updated: fixed issue with sed

This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch EPMCDLAB-1186
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/EPMCDLAB-1186 by this push:
     new 1d54642  fixed issue with sed
1d54642 is described below

commit 1d5464279886600129f0875b9ab95e827efe1ddc
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Feb 20 12:23:06 2019 +0200

    fixed issue with sed
---
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 5a5bc5a..7b2d5b5 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -107,7 +107,7 @@ def ensure_r(os_user, r_libs, region, r_mirror):
             except:
                 sudo('apt-get install -y r-base r-base-dev')
             if os.environ['local_repository_enabled'] == 'True':
-                sudo('sed -i "s/R_REPO/{0}/g" /tmp/Rprofile.site'.format(
+                sudo('sed -i "s|R_REPO|{0}|g" /tmp/Rprofile.site'.format(
                     os.environ['local_repository_r_repo']))
                 sudo('cp -f /tmp/Rprofile.site /etc/R/')
             sudo('R CMD javareconf')


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org