From 5adc75abed349ba8de152ae605e3131d49bde7af Mon Sep 17 00:00:00 2001 From: Nico Wiseman Date: Mon, 16 Jan 2023 17:12:03 +0000 Subject: [PATCH] Clean up the git template name by removing .git from the end - this looks weird in the filesystem --- usr/local/share/bastille/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 660d69d2..c6acdbb8 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -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