]> SALOME platform Git repositories - tools/pvdeliv.git/commitdiff
Salome HOME
Add GIT_SSL_NO_VERIFY
authorCédric Aguerre <cedric.aguerre@edf.fr>
Thu, 24 Mar 2016 15:30:10 +0000 (16:30 +0100)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Thu, 24 Mar 2016 15:30:10 +0000 (16:30 +0100)
scripts/BuildSalomeMini.py

index 06be8b4855ec02ddda28971f7e98188262d30e7c..eaf7641706e13727d0d75d9d17589be12199a3d3 100755 (executable)
@@ -265,7 +265,7 @@ def extractSrcFromGit(gitLoc,srcDir,pattern):
     if not os.path.exists(dirGitLoc):
       print("Cloning %s..."%dirGitLoc)
       def __connect():
-        p=subprocess.Popen(["git","clone",gitLoc[0]],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
+        p=subprocess.Popen(["GIT_SSL_NO_VERIFY=true", "git","clone",gitLoc[0]],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
         p_out,p_err=p.communicate()
         return p.returncode, p_out, p_err
       tries=0