Handle the case where there's not yet a cache

This commit is contained in:
Jean-Paul Calderone 2018-07-10 13:32:10 -04:00
parent f3df99f470
commit b9008f13a2

View File

@ -7,8 +7,9 @@ TAHOE_LAFS_TOX_ARGS=$1
shift || : shift || :
# Make sure the ownership of the pip cache directory is correct. The CircleCI # Make sure the ownership of the pip cache directory is correct. The CircleCI
# cache management operations seem to mess it up. # cache management operations seem to mess it up. The cache directory might
sudo chown --recursive nobody /tmp/nobody/.cache # not exist if there was no matching cache to restore.
[ -e /tmp/nobody/.cache ] && sudo chown --recursive nobody /tmp/nobody/.cache
# Set up the virtualenv as a non-root user so we can run the test suite as a # Set up the virtualenv as a non-root user so we can run the test suite as a
# non-root user. See below. # non-root user. See below.