mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
[gb] Allow dir or file of .git
This commit is contained in:
parent
3147c5638f
commit
413de37568
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ CREATING repository '$1' with:
|
|||
|
||||
apply_repos() {
|
||||
for rdir in /repos/*; do
|
||||
if [ -d $rdir/.git ]; then
|
||||
if [ -e $rdir/.git ]; then
|
||||
r=$(basename $rdir)
|
||||
create_repo $r
|
||||
local url=$RET
|
||||
|
|
Loading…
Reference in a new issue