aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xec2/spark-ec22
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2/spark-ec2 b/ec2/spark-ec2
index 3abd3f396f..26e7d22655 100755
--- a/ec2/spark-ec2
+++ b/ec2/spark-ec2
@@ -20,6 +20,6 @@
# Preserve the user's CWD so that relative paths are passed correctly to
#+ the underlying Python script.
-SPARK_EC2_DIR="$(dirname $0)"
+SPARK_EC2_DIR="$(dirname "$0")"
python -Wdefault "${SPARK_EC2_DIR}/spark_ec2.py" "$@"