From 9ccf394a19752d881d558a6eb1a3b046f2983d00 Mon Sep 17 00:00:00 2001 From: LennyN95 Date: Tue, 14 Nov 2023 14:12:23 +0100 Subject: [PATCH] update base image model import build utility to remove the created git folder after sparse checkout --- base/buildutils/import_mhub_model.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/buildutils/import_mhub_model.sh b/base/buildutils/import_mhub_model.sh index 97b729cd..7968b452 100755 --- a/base/buildutils/import_mhub_model.sh +++ b/base/buildutils/import_mhub_model.sh @@ -39,4 +39,5 @@ fi git init git fetch ${REPO_URL} ${REPO_BRANCH} git merge FETCH_HEAD -git sparse-checkout set "models/${MODEL_NAME}" \ No newline at end of file +git sparse-checkout set "models/${MODEL_NAME}" +rm -r .git \ No newline at end of file