We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e79bf commit ce071fcCopy full SHA for ce071fc
ec2/spark-ec2
@@ -18,5 +18,7 @@
18
# limitations under the License.
19
#
20
21
-cd "`dirname $0`"
22
-PYTHONPATH="./third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" python ./spark_ec2.py "$@"
+SPARK_EC2_DIR="$(dirname $0)"
+
23
+PYTHONPATH="${SPARK_EC2_DIR}/third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" \
24
+ python "${SPARK_EC2_DIR}/spark_ec2.py" "$@"
0 commit comments