Patchwork [RFC,v2,11/15] create-pull-request: do not check certificate

mail settings
Submitter Darren Hart
Date May 16, 2011, 10:26 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/4191/
State New, archived
Headers show


Darren Hart - May 16, 2011, 10:26 p.m.
From: Otavio Salvador <>

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 <>
Signed-off-by: Darren Hart <>
 scripts/create-pull-request |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 202d99d..9dbd55a 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -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."