You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marvin.apache.org by we...@apache.org on 2020/10/03 09:37:51 UTC

[incubator-marvin] branch develop updated: fixing home env variable to work on Mac

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

weichen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-marvin.git


The following commit(s) were added to refs/heads/develop by this push:
     new 02c764d  fixing home env variable to work on Mac
02c764d is described below

commit 02c764de10cfa1afc4a1fab8640565625ffe5fc7
Author: sette <br...@ufscar.br>
AuthorDate: Wed Sep 30 16:09:52 2020 -0300

    fixing home env variable to work on Mac
---
 marvin-cli/bin/marvin | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/marvin-cli/bin/marvin b/marvin-cli/bin/marvin
index 7ac2853..dbef59b 100644
--- a/marvin-cli/bin/marvin
+++ b/marvin-cli/bin/marvin
@@ -37,9 +37,9 @@ EXCLUDE_BY_TYPE = {
 }
 
 ENVIRONMENT_VARIABLES = {
-    'MARVIN_HOME': "/home/{0}/marvin".format(os.environ['USER']),
-    'MARVIN_DATA_PATH': "/home/{0}/marvin/data".format(os.environ['USER']),
-    'MARVIN_LOG': "/home/{0}/marvin/data/.logs".format(os.environ['USER'])
+    'MARVIN_HOME': "{0}/marvin".format(os.environ['HOME']),
+    'MARVIN_DATA_PATH': "{0}/marvin/data".format(os.environ['HOME']),
+    'MARVIN_LOG': "{0}/marvin/data/.logs".format(os.environ['HOME'])
 }
 
 def _define_environ():