From 6aa6d6b026b820108d95f8d61294be60a2a15b12 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Thu, 6 Feb 2014 12:23:43 +0900 Subject: [PATCH] Fix broken test --- plugins/python-build/bin/python-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 4719b13b..7a95d718 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1393,7 +1393,7 @@ if [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then package_option python configure --enable-framework="${PREFIX_PATH}" fi -if ! command -v curl 2>/dev/null && [[ "$(wget --version 2>/dev/null || true)" = "GNU Wget 1.1"[0-3]* ]]; then +if ! command -v curl 1>/dev/null 2>&1 && [[ "$(wget --version 2>/dev/null || true)" = "GNU Wget 1.1"[0-3]* ]]; then echo "python-build: wget (< 1.14) doesn't support Server Name Indication. Please install curl (>= 7.18.1) and try again" >&2 exit 1 fi