ruanwenjun commented on code in PR #11625:
URL: https://github.com/apache/dolphinscheduler/pull/11625#discussion_r953706698
##########
dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ShellCommandExecutor.java:
##########
@@ -108,7 +108,7 @@ protected void createCommandFileIfNotExists(String
execCommand, String commandFi
sb.append(taskRequest.getEnvironmentConfig()).append("\n");
} else {
if (taskRequest.getEnvFile() != null) {
- sb.append("source
").append(taskRequest.getEnvFile()).append("\n");
+ sb.append(".
").append(taskRequest.getEnvFile()).append("\n");
Review Comment:
I would like to use `#!/bin/bash` to replace `#!/bin/sh`, rather than use
`.` to replace `source`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]