We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec22a1 commit ef12f74Copy full SHA for ef12f74
bin/spark-submit
@@ -55,7 +55,9 @@ if [ $DEPLOY_MODE == "client" ]; then
55
# Parse the value of the given config
56
# This removes the "=" sign, whitespace, and double quotes around the value (if any)
57
parse_config() {
58
- result=$(sed "/^#/ d" "$PROPERTIES_FILE" | grep "$1" | \
+ result=$( \
59
+ sed "/^#/ d" "$PROPERTIES_FILE" | \
60
+ grep "$1" | \
61
sed "s/$1//g" | \
62
sed "s/^[[:space:]]*=//g" | \
63
sed "s/^[[:space:]]*\"\(.*\)\"[[:space:]]*$/\1/g" | \
0 commit comments