diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-14 04:16:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-19 23:40:39 +0100 |
commit | 5f9f2188b53ccea5988d90a1877886142e7a5216 (patch) | |
tree | df5b7b0728548c84a9b26180cff776590fc34938 | |
parent | a13fe8e454562a525520dd050d7783898fd29486 (diff) | |
download | poky-5f9f2188b53ccea5988d90a1877886142e7a5216.tar.gz |
create-pull-request: do not check certificate
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.
(From OE-Core rev: 027667824ca78d4f118d1917a515a675d966985c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | 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 202d99d120..9dbd55a9c0 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
@@ -112,7 +112,7 @@ esac | |||
112 | # Perform a sanity test on the web URL. Issue a warning if it is not | 112 | # Perform a sanity test on the web URL. Issue a warning if it is not |
113 | # accessible, but do not abort as users may want to run offline. | 113 | # accessible, but do not abort as users may want to run offline. |
114 | if [ -n "$WEB_URL" ]; then | 114 | if [ -n "$WEB_URL" ]; then |
115 | wget -q $WEB_URL -O /dev/null | 115 | wget --no-check-certificate -q $WEB_URL -O /dev/null |
116 | if [ $? -ne 0 ]; then | 116 | if [ $? -ne 0 ]; then |
117 | echo "WARNING: Branch '$BRANCH' was not found on the contrib git tree." | 117 | echo "WARNING: Branch '$BRANCH' was not found on the contrib git tree." |
118 | echo " Please check your remote and branch parameter before sending." | 118 | echo " Please check your remote and branch parameter before sending." |