aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2022-04-23 08:17:45 -0700
committerAlec Warner <antarus@gentoo.org>2022-04-23 08:17:45 -0700
commite3a47e53b0b5da294df4f2ed4df04f5a95164a6f (patch)
treeb5a26058361f266dc79dcf634a3600b7d16b8ef4
parentExport the variable properly. (diff)
downloadgithooks-e3a47e53b0b5da294df4f2ed4df04f5a95164a6f.tar.gz
githooks-e3a47e53b0b5da294df4f2ed4df04f5a95164a6f.tar.bz2
githooks-e3a47e53b0b5da294df4f2ed4df04f5a95164a6f.zip
Correct path to key.githooks-20220423T151745Z
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rwxr-xr-xgitlab-mirror/gitlab-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab-mirror/gitlab-mirror b/gitlab-mirror/gitlab-mirror
index 0c8ce91..04bbbd6 100755
--- a/gitlab-mirror/gitlab-mirror
+++ b/gitlab-mirror/gitlab-mirror
@@ -15,7 +15,7 @@ fi
targets=$(git config --get gitlab.mirror.url)
[ -z "${targets}" ] && exit 0
-[ -z "${GIT_SSH_KEY}" ] && export GIT_SSH_KEY=~/gitlab-ssh-key
+[ -z "${GIT_SSH_KEY}" ] && export GIT_SSH_KEY=~/gitlab_ssh_key
export GIT_SSH=$(dirname "$(readlink -f "$0")")/gitlab-ssh-wrapper
for target in ${targets}; do