Skip to content

Commit

Permalink
rm codebase if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards committed Oct 18, 2023
1 parent ed5460d commit c2eeadd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jhu_up: jhu_generate-secrets
@echo "docker-compose.yml does not exist, creating starter site"
if [ -z "$$(ls -A $(QUOTED_CURDIR)/codebase/config/sync/)" ]; then \
echo "codebase/ directory is empty, cloning it"; \
sudo rm -rf codebase/ ; \
git clone -b main https://github.com/jhu-idc/idc-codebase codebase; \
echo "codebase/ was cloned"; \
fi
Expand Down

0 comments on commit c2eeadd

Please sign in to comment.