contrib/Makefile.python
changeset 23824 e278fc8bb0c3
parent 23140 fbd79c2552a6
child 23880 c0c4713c3010
--- a/contrib/Makefile.python	Tue Jan 13 15:15:37 2015 -0500
+++ b/contrib/Makefile.python	Tue Jan 13 14:15:08 2015 -0500
@@ -44,7 +44,7 @@
 PYTHON_SRCFILE=$(PYTHON_SRCDIR).tgz
 
 $(PREFIX)/bin/python:
-	[ -f $(PYTHON_SRCFILE) ] || wget http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || [ -f $(PYTHON_SRCFILE) ]
+	[ -f $(PYTHON_SRCFILE) ] || wget http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || curl -OL http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || [ -f $(PYTHON_SRCFILE) ]
 	rm -rf $(PYTHON_SRCDIR)
 	tar xf $(PYTHON_SRCFILE)
 	# Ubuntu disables SSLv2 the hard way, disable it on old Pythons too