From 3f5171e2fcb78a41df1c9f916d39b877d17dfb64 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Wed, 30 Apr 2014 11:52:15 +0900 Subject: [PATCH] Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com) --- bin/pyenv-virtualenv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pyenv-virtualenv b/bin/pyenv-virtualenv index 8e45cfb..cb7ed20 100755 --- a/bin/pyenv-virtualenv +++ b/bin/pyenv-virtualenv @@ -181,9 +181,9 @@ install_pip() { else [ -n "${GET_PIP_URL}" ] || { if [ -n "${PIP_VERSION}" ]; then - GET_PIP_URL="https://raw.github.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py" + GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/${PIP_VERSION}/contrib/get-pip.py" else - GET_PIP_URL="https://raw.github.com/pypa/pip/master/contrib/get-pip.py" + GET_PIP_URL="https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py" fi } if [ -n "$VERBOSE" ]; then