summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2016-04-01 21:31:00 -0700
committerDwayne Litzenberger <dlitz@dlitz.net>2016-04-01 21:31:00 -0700
commit701fcd83f24b986e0f214680556ac9120f6caeca (patch)
tree340359d0c3d460a0cca047577fa9b2686ee50f8e
parent515d56f0caf8eb81efc90df2555b0a4b2820ecc9 (diff)
downloadpycrypto-701fcd83f24b986e0f214680556ac9120f6caeca.tar.gz
more cache
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index fd6a13e..7b349dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,7 +71,7 @@ before_install:
. ~/virtualenv/python"$PYENV_VERSION"/bin/activate
unset PYENV_VERSION
elif [ -e ~/.pyenv/cache/built-"$PYENV_VERSION".tar.gz.done ]; then
- tar --strip-components=1 -C ~/.pyenv/versions/"${PYENV_VERSION}" -xvzf ~/.pyenv/cache/built-"$PYENV_VERSION".tar.gz
+ tar -C ~/.pyenv/versions/ -xvzf ~/.pyenv/cache/built-"$PYENV_VERSION".tar.gz "$PYENV_VERSION"
else
pyenv install "$PYENV_VERSION"
tar -C ~/.pyenv/versions -cvzf ~/.pyenv/cache/built-"$PYENV_VERSION".tar.gz "$PYENV_VERSION"