From ef12f74b9b7e7edcefb6b82cb53de3eccbf0d9ad Mon Sep 17 00:00:00 2001 From: Andrew Or Date: Wed, 6 Aug 2014 13:31:32 -0700 Subject: [PATCH] Minor formatting --- bin/spark-submit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/spark-submit b/bin/spark-submit index 46689975d1fe2..faf09f3331064 100755 --- a/bin/spark-submit +++ b/bin/spark-submit @@ -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" | \