Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2149#discussion_r68551210 --- Diff: flink-dist/src/main/flink-bin/bin/flink --- @@ -33,6 +47,22 @@ while [ -L "$target" ]; do iteration=$((iteration + 1)) done + +#Search --configDir into the parameters and set it as FLINK_CONF_DIR +args=("$@") +for i in "${!args[@]}"; do + if [[ ${args[$i]} = "--configDir" || ${args[$i]} = "-D" ]]; then + dir=${args[$(($i+1))]} + if [ -d "$dir" ]; then + FLINK_CONF_DIR= abspath ${dir} --- End diff -- Should never assign to the variable because of the space after `=`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---