Clean up the git template name by removing .git from the end - this looks weird in the filesystem

This commit is contained in:
Nico Wiseman
2023-01-16 17:12:03 +00:00
parent 9a00ae5323
commit 5adc75abed

View File

@@ -425,7 +425,7 @@ bootstrap_template() {
## define basic variables
_url=${BASTILLE_TEMPLATE_URL}
_user=${BASTILLE_TEMPLATE_USER}
_repo=${BASTILLE_TEMPLATE_REPO}
_repo=${BASTILLE_TEMPLATE_REPO%.*} # Remove the trailing ".git"
_template=${bastille_templatesdir}/${_user}/${_repo}
## support for non-git