Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7572 from EOSIO/mongo-folders
Browse files Browse the repository at this point in the history
[develop] Don't create mongo folders unless ENABLE_MONGO is true
  • Loading branch information
NorseGaud authored Jul 1, 2019
2 parents ce5cf0d + b898b1d commit dbd9677
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/helpers/eosio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ function setup() {
execute mkdir -p $VAR_DIR/log
execute mkdir -p $ETC_DIR
execute mkdir -p $LIB_DIR
execute mkdir -p $MONGODB_LOG_DIR
execute mkdir -p $MONGODB_DATA_DIR
if $ENABLE_MONGO; then
execute mkdir -p $MONGODB_LOG_DIR
execute mkdir -p $MONGODB_DATA_DIR
fi
}

function ensure-which() {
Expand Down

0 comments on commit dbd9677

Please sign in to comment.