aboutsummaryrefslogtreecommitdiff
path: root/sbin/compute-classpath.sh
diff options
context:
space:
mode:
authorAndrew xia <junluan.xia@intel.com>2013-09-29 22:00:19 +0800
committerAndrew xia <junluan.xia@intel.com>2013-09-29 22:00:19 +0800
commitcc37b3151cb606ecf1c35865202dc2a08741281c (patch)
tree2c0c612c1397eea7bdfc80a696da8cb91d825be1 /sbin/compute-classpath.sh
parent84849baf88d31cfaaeee158a947c4db1abe94ce6 (diff)
downloadspark-cc37b3151cb606ecf1c35865202dc2a08741281c.tar.gz
spark-cc37b3151cb606ecf1c35865202dc2a08741281c.tar.bz2
spark-cc37b3151cb606ecf1c35865202dc2a08741281c.zip
refactor $FWD variable
Diffstat (limited to 'sbin/compute-classpath.sh')
-rwxr-xr-xsbin/compute-classpath.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/compute-classpath.sh b/sbin/compute-classpath.sh
index c7819d4932..d9217ecf77 100755
--- a/sbin/compute-classpath.sh
+++ b/sbin/compute-classpath.sh
@@ -26,7 +26,7 @@ SCALA_VERSION=2.9.3
FWDIR="$(cd `dirname $0`/..; pwd)"
# Load environment variables from conf/spark-env.sh, if it exists
-if [ -e $FWDIR/conf/spark-env.sh ] ; then
+if [ -e "$FWDIR/conf/spark-env.sh" ] ; then
. $FWDIR/conf/spark-env.sh
fi