From 0feb349ea07361f0363117404ffc9797c2c80dd1 Mon Sep 17 00:00:00 2001
From: Reynold Xin <rxin@apache.org>
Date: Wed, 30 Jul 2014 13:04:20 -0700
Subject: [PATCH] More wrapping FWDIR in quotes.

---
 dev/mima              | 2 +-
 dev/run-tests-jenkins | 2 +-
 make-distribution.sh  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev/mima b/dev/mima
index 7857294f61..4c3e65039b 100755
--- a/dev/mima
+++ b/dev/mima
@@ -22,7 +22,7 @@ set -e
 
 # Go to the Spark project root directory
 FWDIR="$(cd `dirname $0`/..; pwd)"
-cd $FWDIR
+cd "$FWDIR"
 
 echo -e "q\n" | sbt/sbt oldDeps/update
 
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index 8dda671e97..3076eb847b 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -22,7 +22,7 @@
 
 # Go to the Spark project root directory
 FWDIR="$(cd `dirname $0`/..; pwd)"
-cd $FWDIR
+cd "$FWDIR"
 
 COMMENTS_URL="https://api.github.com/repos/apache/spark/issues/$ghprbPullId/comments"
 
diff --git a/make-distribution.sh b/make-distribution.sh
index c08093f46b..0a3283ecec 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -150,7 +150,7 @@ else
 fi
 
 # Build uber fat JAR
-cd $FWDIR
+cd "$FWDIR"
 
 export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
 
-- 
GitLab