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:
parent
0e1a0a7767
commit
de6df8b33f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user