[gb] Allow dir or file of .git

This commit is contained in:
Geoff Bourne 2016-06-27 08:30:54 -05:00
parent 3147c5638f
commit 413de37568

View File

@ -60,7 +60,7 @@ CREATING repository '$1' with:
apply_repos() { apply_repos() {
for rdir in /repos/*; do for rdir in /repos/*; do
if [ -d $rdir/.git ]; then if [ -e $rdir/.git ]; then
r=$(basename $rdir) r=$(basename $rdir)
create_repo $r create_repo $r
local url=$RET local url=$RET