From c0b856a056f5e101bc00b5cd4a8d5b5d91e488f1 Mon Sep 17 00:00:00 2001 From: Matei Zaharia Date: Sat, 16 Oct 2010 12:18:02 -0700 Subject: Set absolute path for SPARK_HOME --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run') 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" -- cgit v1.2.3