diff --git a/scripts/helpers/eosio.sh b/scripts/helpers/eosio.sh index 090f5066f06..c518bd22550 100755 --- a/scripts/helpers/eosio.sh +++ b/scripts/helpers/eosio.sh @@ -52,7 +52,7 @@ function setup() { execute mkdir -p $VAR_DIR/log execute mkdir -p $ETC_DIR execute mkdir -p $LIB_DIR - if [[ $ENABLE_MONGO != false ]]; then + if $ENABLE_MONGO; then execute mkdir -p $MONGODB_LOG_DIR execute mkdir -p $MONGODB_DATA_DIR fi