Force wget certificate file
authorSteve McIntyre <steve@einval.com>
Sun, 18 Dec 2016 23:04:22 +0000 (23:04 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 18 Dec 2016 23:04:22 +0000 (23:04 +0000)
strace-build-test

index d98b571..b08b5cd 100755 (executable)
@@ -116,12 +116,12 @@ rm -f $FILE
 # separate log file but using the same chroot for speed
 rm -rf ~/build/strace/package-test
 set +e
-wget -O /dev/null $PKG_TEST
+wget --ca-certificate=/etc/ssl/ca-global/ca-certificates.crt -O /dev/null $PKG_TEST
 if [ $? -eq 0 ]; then
     # Time to grab sources
     mkdir ~/build/strace/package-test
     cd ~/build/strace/package-test
-    wget -r -nd -np $PKG_TEST
+    wget --ca-certificate=/etc/ssl/ca-global/ca-certificates.crt -r -nd -np $PKG_TEST
     DSC=$(ls *.dsc)
 
     cat > ~/build/strace/inside-schroot-test.sh << EOF