diff --git a/git-mirrors.sh b/git-mirrors.sh index 96360196f8b58ae975581fa155edae47a582ea5e..8922eed14dc32b12cb142abea7c306d46cb7acf3 100755 --- a/git-mirrors.sh +++ b/git-mirrors.sh @@ -9,6 +9,8 @@ git_mirrors_dir="$(dirname "${0}")" . "${git_mirrors_dir}/lib/VERSION" . "${git_mirrors_dir}/lib/functions.sh" +cd "${git_mirrors_dir}" + STATUS=0 ls -1 "${repo_dir}/${gitlab_namespace}" | while read mirror;do