From 95be4bce441034cb122fc65549654120f311bcd9 Mon Sep 17 00:00:00 2001 From: Junhui Date: Sun, 10 Apr 2016 11:17:28 +0800 Subject: [PATCH] Fix 'makefile' for pylookup --- layers/+lang/python/local/pylookup/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layers/+lang/python/local/pylookup/makefile b/layers/+lang/python/local/pylookup/makefile index 109ee3939..de7f495f7 100644 --- a/layers/+lang/python/local/pylookup/makefile +++ b/layers/+lang/python/local/pylookup/makefile @@ -1,8 +1,8 @@ VER := $(shell python --version 2>&1 | grep -o "[0-9].[0-9].[0-9]*") -MAJOR_VERSION = $(shell python -version 2>&1 | grep -o "Python [0-9]") +MAJOR_VERSION = $(shell python --version 2>&1 | grep -o "Python [0-9]" | grep -o "[0-9]") ZIP := python-${VER}-docs-html.zip -URL := http://docs.python.org/py3k/archives/${ZIP} -URL2:= http://docs.python.org/archives/${ZIP} +URL := https://docs.python.org/2/archives/${ZIP} +URL2:= https://docs.python.org/3/archives/${ZIP} ifneq (2,${MAJOR_VERSION}) URL := ${URL2}