diff --git a/dev-tools/setup-dev.sh b/dev-tools/setup-dev.sh index 0430bbeddf3..4567390bacc 100644 --- a/dev-tools/setup-dev.sh +++ b/dev-tools/setup-dev.sh @@ -5,7 +5,7 @@ # Install nvm and required node versions curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash source ~/.nvm/nvm.sh -source ~/.bashrc +[ -f "~/.bashrc" ] && source ~/.bashrc for dir in contracts eth-contracts packages/identity-service packages/libs; do cd "$PROTOCOL_DIR/$dir" nvm install