spark: small syntax hiccup in the vars check

Add a space before ending ], otherwise it will produce the error:
  [...]/root.d/0-check-spark: line 2: [: missing `]'

Change-Id: I178dff2d66310056bce05747094c8b912d575b19
This commit is contained in:
Pino Toscano 2015-03-09 10:46:25 +01:00
parent 0e1a0a7767
commit de6df8b33f

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