Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 6, 2014
1 parent 4ec22a1 commit ef12f74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/spark-submit
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ if [ $DEPLOY_MODE == "client" ]; then
# Parse the value of the given config
# This removes the "=" sign, whitespace, and double quotes around the value (if any)
parse_config() {
result=$(sed "/^#/ d" "$PROPERTIES_FILE" | grep "$1" | \
result=$( \
sed "/^#/ d" "$PROPERTIES_FILE" | \
grep "$1" | \
sed "s/$1//g" | \
sed "s/^[[:space:]]*=//g" | \
sed "s/^[[:space:]]*\"\(.*\)\"[[:space:]]*$/\1/g" | \
Expand Down

0 comments on commit ef12f74

Please sign in to comment.