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>
This commit is contained in:
parent
a13fe8e454
commit
5f9f2188b5
|
@ -112,7 +112,7 @@ esac
|
||||||
# Perform a sanity test on the web URL. Issue a warning if it is not
|
# 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.
|
# accessible, but do not abort as users may want to run offline.
|
||||||
if [ -n "$WEB_URL" ]; then
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "WARNING: Branch '$BRANCH' was not found on the contrib git tree."
|
echo "WARNING: Branch '$BRANCH' was not found on the contrib git tree."
|
||||||
echo " Please check your remote and branch parameter before sending."
|
echo " Please check your remote and branch parameter before sending."
|
||||||
|
|
Loading…
Reference in New Issue