Source .env when checking for elastisearch

This commit is contained in:
Brenda Wallace
2020-08-17 13:58:46 +12:00
committed by Brenda Wallace
parent a7ab356298
commit 08ecd0ebee

View File

@@ -1,5 +1,7 @@
#!/bin/bash
source .env
if [[ -z "$ELASTIC_SEARCH_VERSION" ]]; then
echo "ELASTIC_SEARCH_VERSION variable not set"
else