Browse Source

Обновить 'keygen.sh'

Vladimir Tomishinets 6 years ago
parent
commit
6cdab5bfc0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      keygen.sh

+ 2 - 2
keygen.sh

@@ -5,13 +5,13 @@
 JENKINS_MAIL="jenkins.dev@sdsys.ru"
 cd /
 GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url}
-cd /${git_dir_pki} && git checkout $2
+cd /${git_dir} && git checkout $2
 
 stonevpn -f $1 -n "$1" -z
 
 echo "Generate new key and cert for $1" > /tmp/commit.txt
 
-cd ${git_dir_pki}
+cd /${git_dir}
 
 git add -A
 git config --global user.email "${JENKINS_MAIL}"