aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 12:18:02 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 12:18:02 -0700
commitc0b856a056f5e101bc00b5cd4a8d5b5d91e488f1 (patch)
tree723ee41be302dc9e6041ef8c69810372bca5b01e /run
parent7da569e8a5a388859d1b7d7a856c9386a54b0568 (diff)
downloadspark-c0b856a056f5e101bc00b5cd4a8d5b5d91e488f1.tar.gz
spark-c0b856a056f5e101bc00b5cd4a8d5b5d91e488f1.tar.bz2
spark-c0b856a056f5e101bc00b5cd4a8d5b5d91e488f1.zip
Set absolute path for SPARK_HOME
Diffstat (limited to 'run')
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
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"