#!/bin/bash
set -e -o pipefail -u -v

wget -q --no-check-certificate 'https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz'
echo "d3f8e94bf825cc999924e276c8f1c63b8eeb0715  virtualenv-1.11.6.tar.gz" | sha1sum --check
tar xvzf virtualenv-1.11.6.tar.gz
cd virtualenv-1.11.6 && python2.7 setup.py install
cd /tmp && ./virtualenv.sh && ./fix_virtualenv.sh
