Browse Source

update CommonUtils.java (#3137)

Co-authored-by: dailidong <dailidong66@gmail.com>
pull/3/MERGE
liukunyuan 4 years ago committed by GitHub
parent
commit
0692dca4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java

2
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java

@ -48,7 +48,7 @@ public class CommonUtils {
envPath = envDefaultPath.getPath(); envPath = envDefaultPath.getPath();
logger.debug("env path :{}", envPath); logger.debug("env path :{}", envPath);
}else{ }else{
envPath = System.getProperty("user.home") + File.separator + ".bash_profile"; envPath = "/etc/profile";
} }
} }

Loading…
Cancel
Save