From cc3d885988a00e5829a84bdf43346d85ed5d2558 Mon Sep 17 00:00:00 2001 From: Andreas Amann Date: Fri, 19 Feb 2016 20:08:55 +0000 Subject: [PATCH] Look in correct directory for new repos --- gitolite-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitolite-backup.sh b/gitolite-backup.sh index 162ca6e..5d01a2b 100755 --- a/gitolite-backup.sh +++ b/gitolite-backup.sh @@ -62,7 +62,7 @@ for i in $(seq 2); do list_repos "$gitolite_login" | while read repo do - if [ ! -d "$repo" ]; then + if [ ! -d "repos/$repo" ]; then echo "Found new repo $repo" ( create_repo "$gitolite_login" "$repo" ) fi