From 0692dca4e69c842015eb1a7fc81d6ac373d452d3 Mon Sep 17 00:00:00 2001 From: liukunyuan <50513095+liukunyuan@users.noreply.github.com> Date: Sun, 5 Jul 2020 21:50:42 +0800 Subject: [PATCH] update CommonUtils.java (#3137) Co-authored-by: dailidong --- .../org/apache/dolphinscheduler/common/utils/CommonUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java index 731cdaa719..2468e62ab0 100644 --- a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java +++ b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java @@ -48,7 +48,7 @@ public class CommonUtils { envPath = envDefaultPath.getPath(); logger.debug("env path :{}", envPath); }else{ - envPath = System.getProperty("user.home") + File.separator + ".bash_profile"; + envPath = "/etc/profile"; } }