chore: use -z for checking for empty value
This commit is contained in:
1 parent
80b782e6ed
commit
59aef9a408
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ log-fail() {
|
|||||||
|
|
||||||
ensure-environment() {
|
ensure-environment() {
|
||||||
local FREE_MEMORY
|
local FREE_MEMORY
|
||||||
if [ ! $DOKKU_TAG ]; then
|
if [[ -z "$DOKKU_TAG" ]]; then
|
||||||
echo "Preparing to install $DOKKU_REPO..."
|
echo "Preparing to install $DOKKU_REPO..."
|
||||||
else
|
else
|
||||||
echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..."
|
echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..."
|
||||||
|
|||||||
Reference in new issue
Block a user