From c2eeadd520ff9ab4860849c36806f72d85f05d71 Mon Sep 17 00:00:00 2001 From: DonRichards Date: Wed, 18 Oct 2023 15:09:46 -0400 Subject: [PATCH] rm codebase if needed --- custom.Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/custom.Makefile b/custom.Makefile index 3217a0112..1959272fa 100644 --- a/custom.Makefile +++ b/custom.Makefile @@ -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