瀏覽代碼

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

Paul Klumpp 9 年之前
父節點
當前提交
793efc39a6
共有 2 個文件被更改,包括 4 次插入4 次删除
  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]}"
             echo "$idx: ${repo[$idx]} from ${url[$idx]}"
             if [ ! -d "${repo[$idx]}" ]; then
             if [ ! -d "${repo[$idx]}" ]; then
                 echo "git dir missing, we get it"
                 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
             else
                 echo "git dir exists, we update it"
                 echo "git dir exists, we update it"
                 cd $cwd/${repo[$idx]} 
                 cd $cwd/${repo[$idx]} 
-                git pull
+                GIT_SSL_NO_VERIFY=true git pull
                 cd ..
                 cd ..
             fi
             fi
         fi
         fi

+ 2 - 2
q2compile/make_and_put_all.sh

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