mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +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 || :
|
||||
|
||||
# Make sure the ownership of the pip cache directory is correct. The CircleCI
|
||||
# cache management operations seem to mess it up.
|
||||
sudo chown --recursive nobody /tmp/nobody/.cache
|
||||
# cache management operations seem to mess it up. The cache directory might
|
||||
# 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
|
||||
# non-root user. See below.
|
||||
|
Loading…
Reference in New Issue
Block a user