aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xalltests2
-rwxr-xr-xrun2
2 files changed, 2 insertions, 2 deletions
diff --git a/alltests b/alltests
index 8f596da8f9..5d1c4cd3b1 100755
--- a/alltests
+++ b/alltests
@@ -1,5 +1,5 @@
#!/bin/bash
-FWDIR=`dirname $0`
+FWDIR="`dirname $0`"
if [ "x$SPARK_MEM" == "x" ]; then
export SPARK_MEM=500m
fi
diff --git a/run b/run
index 627f44a563..d6f7d920c5 100755
--- a/run
+++ b/run
@@ -1,7 +1,7 @@
#!/bin/bash
# Figure out where the Scala framework is installed
-FWDIR=`dirname $0`
+FWDIR="$(cd `dirname $0`; pwd)"
# Export this as SPARK_HOME
export SPARK_HOME="$FWDIR"