summaryrefslogtreecommitdiff
path: root/gitolite-sync.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-30 18:32:45 +0200
committerErich Eckner <git@eckner.net>2019-05-30 18:32:45 +0200
commit5c8af323007c076b785dc41e7ef4cfdee545ecd9 (patch)
tree86a7cb9b25d66eb9c9ed119d800b4ab1e184d1c2 /gitolite-sync.in
parent13593d21a8c9c3cd6da074712a8374ea2f0e495d (diff)
downloadgitolite-sync-5c8af323007c076b785dc41e7ef4cfdee545ecd9.tar.xz
gitolite-sync: fix typo in variable name
Diffstat (limited to 'gitolite-sync.in')
-rw-r--r--gitolite-sync.in4
1 files 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' \