From a4fd57685c58faa777602a2e033f0181c30da3fb Mon Sep 17 00:00:00 2001 From: usmannasir <01-134132-158@student.bahria.edu.pk> Date: Thu, 21 Feb 2019 17:55:57 +0500 Subject: [PATCH] minor fix to git --- plogical/applicationInstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index 29c99ee68..a32ff7170 100644 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -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')