From 5c8af323007c076b785dc41e7ef4cfdee545ecd9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 May 2019 18:32:45 +0200 Subject: gitolite-sync: fix typo in variable name --- gitolite-sync.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitolite-sync.in b/gitolite-sync.in index adc67bd..21d3621 100644 --- a/gitolite-sync.in +++ b/gitolite-sync.in @@ -27,7 +27,7 @@ if [ ${#repository_dirs[@]} -eq 0 ]; then exit 1 fi -for repository_dir in "${repository_dir[@]}"; do +for repository_dir in "${repository_dirs[@]}"; do if [ -z "${repository_dir}" ] || [ ! -d "${repository_dir}" ]; then >&2 printf 'cannot find "%s"\n' \ "${repository_dir}" @@ -35,7 +35,7 @@ for repository_dir in "${repository_dir[@]}"; do fi done -for repository_dir in "${repository_dir[@]}"; do +for repository_dir in "${repository_dirs[@]}"; do find "${repository_dir}" \ -type d \ -name '*.git' \ -- cgit v1.2.3-70-g09d2