From 7464df9e69ebef6b813dfc15cba639e371e64b94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Thu, 23 Jun 2016 10:41:06 +0200 Subject: [PATCH] Fix cloning process --- scripts/BuildSalomeMini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/BuildSalomeMini.py b/scripts/BuildSalomeMini.py index 37d5f54..41ae2de 100755 --- a/scripts/BuildSalomeMini.py +++ b/scripts/BuildSalomeMini.py @@ -279,7 +279,7 @@ def extractSrcFromGit(gitLoc,srcDir,pattern): if not os.path.exists(dirGitLoc): print("Cloning %s..."%dirGitLoc) def __connect(): - p=subprocess.Popen(["GIT_SSL_NO_VERIFY=true", "git","clone",gitLoc[0]],stdout=subprocess.PIPE,stderr=subprocess.PIPE) + p=subprocess.Popen("GIT_SSL_NO_VERIFY=true git clone %s"%(gitLoc[0]), shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) p_out,p_err=p.communicate() return p.returncode, p_out, p_err tries=0 -- 2.39.2