Browse Source

using GIT_SSL_NO_VERIFY=true so it may work where CAcert root cert is missing

Paul Klumpp 9 years ago
parent
commit
793efc39a6
2 changed files with 4 additions and 4 deletions
  1. 2 2
      q2compile/aq2-bsrv-pkg.sh
  2. 2 2
      q2compile/make_and_put_all.sh

+ 2 - 2
q2compile/aq2-bsrv-pkg.sh

@@ -94,11 +94,11 @@ function main {
             echo "$idx: ${repo[$idx]} from ${url[$idx]}"
             if [ ! -d "${repo[$idx]}" ]; then
                 echo "git dir missing, we get it"
-                git clone ${url[$idx]} ${repo[$idx]}
+                GIT_SSL_NO_VERIFY=true git clone ${url[$idx]} ${repo[$idx]}
             else
                 echo "git dir exists, we update it"
                 cd $cwd/${repo[$idx]} 
-                git pull
+                GIT_SSL_NO_VERIFY=true git pull
                 cd ..
             fi
         fi

+ 2 - 2
q2compile/make_and_put_all.sh

@@ -122,11 +122,11 @@ function main {
         echo "$idx: ${repo[$idx]} from ${url[$idx]}"
         if [ ! -d "${repo[$idx]}" ]; then
             echo "Source dir missing, we get it"
-            git clone ${url[$idx]} ${repo[$idx]}
+            GIT_SSL_NO_VERIFY=true git clone ${url[$idx]} ${repo[$idx]}
         else
             echo "Source dir exists, we update it"
             cd $cwd/${repo[$idx]} 
-            git pull
+            GIT_SSL_NO_VERIFY=true git pull
             cd ..
         fi