Skip to content

Commit ef12f74

Browse files
committed
Minor formatting
1 parent 4ec22a1 commit ef12f74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/spark-submit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ if [ $DEPLOY_MODE == "client" ]; then
5555
# Parse the value of the given config
5656
# This removes the "=" sign, whitespace, and double quotes around the value (if any)
5757
parse_config() {
58-
result=$(sed "/^#/ d" "$PROPERTIES_FILE" | grep "$1" | \
58+
result=$( \
59+
sed "/^#/ d" "$PROPERTIES_FILE" | \
60+
grep "$1" | \
5961
sed "s/$1//g" | \
6062
sed "s/^[[:space:]]*=//g" | \
6163
sed "s/^[[:space:]]*\"\(.*\)\"[[:space:]]*$/\1/g" | \

0 commit comments

Comments
 (0)