Merge "spark: small syntax hiccup in the vars check"

This commit is contained in:
Jenkins 2015-03-10 16:42:45 +00:00 committed by Gerrit Code Review
commit b061da8634
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
if [ -z "$SPARK_DOWNLOAD_URL" -a -z "$DIB_HADOOP_VERSION"]; then
if [ -z "$SPARK_DOWNLOAD_URL" -a -z "$DIB_HADOOP_VERSION" ]; then
echo -e "Neither DIB_HADOOP_VERSION nor SPARK_DOWNLOAD_URL are set. Impossible to install Spark.\nAborting"
exit 1
fi