mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-14 03:39:20 +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
|
||||
fi
|
||||
|
||||
mkdir -p "/srv/git/$REPOSITORY"
|
||||
cd "/srv/git/$REPOSITORY"
|
||||
git init --bare
|
||||
git init --bare "/srv/git/$REPOSITORY"
|
||||
|
|
Loading…
Reference in a new issue