]> SALOME platform Git repositories - tools/pvdeliv.git/commitdiff
Salome HOME
Fix cloning process
authorCédric Aguerre <cedric.aguerre@edf.fr>
Thu, 23 Jun 2016 08:41:06 +0000 (10:41 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Thu, 23 Jun 2016 08:41:06 +0000 (10:41 +0200)
scripts/BuildSalomeMini.py

index 37d5f54e2ccbc07dedbfe46f2eb0b97b50cb357e..41ae2de6bf6c13ccb52e93bb54f64a318b55cc90 100755 (executable)
@@ -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