diff options
author | Alec Warner <antarus@gentoo.org> | 2022-04-22 10:50:38 -0700 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2022-04-22 10:50:38 -0700 |
commit | 47d027ef72225fc40518dc3e9a465895a73d115b (patch) | |
tree | 0b5e34b8f201a1e8ea4709567fd139f984c3c2a2 | |
parent | Update our wrappers. (diff) | |
download | githooks-20220422T175038Z.tar.gz githooks-20220422T175038Z.tar.bz2 githooks-20220422T175038Z.zip |
Don't let gitolite override the push-key.githooks-20220422T175038Z
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rwxr-xr-x | gitlab-mirror/gitlab-mirror | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab-mirror/gitlab-mirror b/gitlab-mirror/gitlab-mirror index 5daf384..f33c8fc 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=$(git config --get gitlab.mirror.pubkey) +[ -z "${GIT_SSH_KEY}" ] && export ~/gitlab-ssh-key export GIT_SSH=$(dirname "$(readlink -f "$0")")/gitlab-ssh-wrapper for target in ${targets}; do |