From: Cédric Aguerre Date: Thu, 23 Jun 2016 08:41:06 +0000 (+0200) Subject: Fix cloning process X-Git-Tag: kw11013~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7464df9e69ebef6b813dfc15cba639e371e64b94;p=tools%2Fpvdeliv.git Fix cloning process --- 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