minor fix to git

This commit is contained in:
usmannasir
2019-02-21 17:55:57 +05:00
parent 5d104c30d1
commit a4fd57685c

View File

@@ -577,7 +577,7 @@ class ApplicationInstaller(multi.Thread):
statusFile.close()
try:
command = 'sudo git clone --depth 1 --no-single-branch git@' + defaultProvider +'.com:' + username + '/' + reponame + '.git -b ' + branch + ' ' + finalPath
command = 'sudo GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --no-single-branch git@' + defaultProvider +'.com:' + username + '/' + reponame + '.git -b ' + branch + ' ' + finalPath
subprocess.check_output(shlex.split(command))
except subprocess.CalledProcessError, msg:
statusFile = open(tempStatusPath, 'w')