fix: pass repo path directly to git init

This commit is contained in:
əlemi 2024-02-08 17:57:25 +01:00
parent d2aa3b61cf
commit b99790c86f
Signed by: alemi
GPG key ID: A4895B84D311642C

4
new
View file

@ -15,6 +15,4 @@ if [ -d "/srv/git/$REPOSITORY" ]; then
exit exit
fi fi
mkdir -p "/srv/git/$REPOSITORY" git init --bare "/srv/git/$REPOSITORY"
cd "/srv/git/$REPOSITORY"
git init --bare