mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 22:07:51 +00:00
Handle the case where there's not yet a cache
This commit is contained in:
parent
f3df99f470
commit
b9008f13a2
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user