fixes for bootstrap

This commit is contained in:
accel 2022-01-31 17:13:36 +03:00
parent cac26f5d16
commit 95b517bf75

View File

@ -14,9 +14,10 @@ ZSHLIBSKEY
ZSHLIBSKEY ZSHLIBSKEY
chmod 600 .zshlibs_repo.key.pub .zshlibs_repo.key chmod 600 .zshlibs_repo.key.pub .zshlibs_repo.key
GIT_SSH_COMMAND='ssh -i .zshlibs_repo.key' git clone --branch master git@casingator.brass.host:zshlibs.git "${zshlibs_install}" GIT_SSH_COMMAND='ssh -i .zshlibs_repo.key' git clone --branch master git@casingator.brass.host:zshlibs.git "${zshlibs_install}"
cd "${zshlibs_install}" pushd "${zshlibs_install}"
git config core.sshCommand "ssh -i ${zshlibs_install}/zshlibs_ro.key" git config core.sshCommand "ssh -i ${zshlibs_install}/zshlibs_ro.key"
chmod 600 "${zshlibs_install}/zshlibs_ro.key" chmod 600 "${zshlibs_install}/zshlibs_ro.key"
popd
rm .zshlibs_repo.key.pub .zshlibs_repo.key rm .zshlibs_repo.key.pub .zshlibs_repo.key
} }