From fa35239832545bbff4d65849f494d97c8f140a40 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Thu, 1 Jun 2023 01:46:19 +0200 Subject: [PATCH] Adds option to preserve the .github folder --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index faafd96..a270b83 100755 --- a/run.sh +++ b/run.sh @@ -153,6 +153,7 @@ function prepScriptureMainGit() { fi mkdir -p "${scripture_path}Tmp" mv -f "${scripture_path}/.git" "${scripture_path}Tmp" + [ -d "${scripture_path}/.github" ] && mv -f "${scripture_path}/.github" "${scripture_path}Tmp" [ -d "${scripture_path}/.gitignore" ] && mv -f "${scripture_path}/.gitignore" "${scripture_path}Tmp" # now we remove all the old git files (so we start clean each time in the build)