mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-14 11:49:19 +01:00
fix: pass repo path directly to git init
This commit is contained in:
parent
d2aa3b61cf
commit
b99790c86f
1 changed files with 1 additions and 3 deletions
4
new
4
new
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue