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

ioleksandr pushed a commit to branch DLAB-657
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-657 by this push:
     new 0f68cfa  fix
     new 989ad83  Merge remote-tracking branch 'origin/DLAB-657' into DLAB-657
0f68cfa is described below

commit 0f68cfa53ea3c0bfb835e1855e2e7a4ae60130c7
Author: Oleksandr_Isniuk <i.oleksa...@gmail.com>
AuthorDate: Wed Jun 5 12:55:48 2019 +0300

    fix
---
 infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
index b4a5ca5..2cc64a8 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -64,7 +64,7 @@ def change_pkg_repos():
         sudo('touch /tmp/pkg_china_ensured')
 
 
-def update-alternatives --query java | grep 'Value: ' | grep -o '/.*/jre'():
+def find_java_path_remote():
     java_path = sudo("sh -c \"update-alternatives --query java | grep 'Value: 
' | grep -o '/.*/jre'\"")
     return java_path
 


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

Reply via email to