fix some format problem.

Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/84005364
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/84005364
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/84005364

Branch: refs/heads/master
Commit: 8400536456ecff26145244cf74b7c00dd1c7034b
Parents: 7a0c5b5
Author: CrazyJvm <crazy...@gmail.com>
Authored: Thu Jan 16 11:57:46 2014 +0800
Committer: CrazyJvm <crazy...@gmail.com>
Committed: Thu Jan 16 11:57:46 2014 +0800

----------------------------------------------------------------------
 bin/spark-shell | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/84005364/bin/spark-shell
----------------------------------------------------------------------
diff --git a/bin/spark-shell b/bin/spark-shell
index 398f211..05a46ee 100755
--- a/bin/spark-shell
+++ b/bin/spark-shell
@@ -50,8 +50,8 @@ if [ -z "$MASTER" ]; then
   if [ -e "$FWDIR/conf/spark-env.sh" ]; then
     . "$FWDIR/conf/spark-env.sh"
   fi
-  if [ "x" != "x$SPARK_MASTER_IP" ];then
-    if [ "y" != "y$SPARK_MASTER_PORT" ];then
+  if [ "x" != "x$SPARK_MASTER_IP" ]; then
+    if [ "y" != "y$SPARK_MASTER_PORT" ]; then
       SPARK_MASTER_PORT="${SPARK_MASTER_PORT}"
     else
       SPARK_MASTER_PORT=$DEFAULT_SPARK_MASTER_PORT

Reply via email to