diff --git a/git-mirrors.sh b/git-mirrors.sh index 7bfaf269b43e43444b1be14524e60db9a4bcc994..3eddef70ea300ad2edcfb534eec35c2c2b05ad46 100755 --- a/git-mirrors.sh +++ b/git-mirrors.sh @@ -2,7 +2,11 @@ #Tue Sep 10 23:01:08 EDT 2013 #Include all user options - . "$(dirname $0)/config.sh" -echo "repo $repo_dir" -echo "GitLab Group $gitlab_group" +cd $(dirname $0) + +ls -1 "${repo_dir}/${gitlab_namespace}" | while read mirror;do + if ! ./update_mirror.sh "${mirror}" &> /dev/null;then + echo "Error: ./update_mirror.sh ${mirror}" 1>&2 + fi +done