mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +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