OBT-SYSADM\tomishinets 6 years ago
parent
commit
6837152a1c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      revoke.sh

+ 3 - 3
revoke.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_pki}
-cd /${git_dir_pki} && git checkout $2
+GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url}
+cd /${git_dir} && git checkout $2
 
 serial=$(stonevpn -a | grep "$1" | awk '{print $1}')
 stonevpn -r ${serial}
 
-cd /${git_dir_pki}
+cd /${git_dir}
 echo "Revoke $1" > /tmp/commit.txt
 
 git add -A