]> code.ossystems Code Review - openembedded-core.git/commitdiff
create-pull-request: do not check certificate
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 14 May 2011 04:16:06 +0000 (04:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2011 22:38:07 +0000 (23:38 +0100)
Some remotes can use HTTPS and we don't need to check the certificate
of the host so wget call is changed to avoid it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
scripts/create-pull-request

index 202d99d1203c993d168a310f3bfddba2e3e04034..9dbd55a9c04103090b980fc0ae5435645acb7fc0 100755 (executable)
@@ -112,7 +112,7 @@ esac
 # Perform a sanity test on the web URL. Issue a warning if it is not
 # accessible, but do not abort as users may want to run offline.
 if [ -n "$WEB_URL" ]; then
-       wget -q $WEB_URL -O /dev/null
+       wget --no-check-certificate -q $WEB_URL -O /dev/null
        if [ $? -ne 0 ]; then
                echo "WARNING: Branch '$BRANCH' was not found on the contrib git tree."
                echo "         Please check your remote and branch parameter before sending."