From 05b76e9b73faefff453489b1aa85c25954187bca Mon Sep 17 00:00:00 2001
From: Sam Gleske <sag47@drexel.edu>
Date: Mon, 16 Sep 2013 17:29:08 -0400
Subject: [PATCH] Bugfix git-mirrors.sh

Major bugfix a working directory bug where
crontab execution fails.
---
 git-mirrors.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/git-mirrors.sh b/git-mirrors.sh
index 9636019..8922eed 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
-- 
GitLab