already running as root

This commit is contained in:
Jean-Paul Calderone 2018-07-10 14:10:46 -04:00
parent 63f1f3139f
commit a3f9361c86

View File

@ -9,7 +9,7 @@ shift || :
# Make sure the ownership of the pip cache directory is correct. The CircleCI
# 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
[ -e /tmp/nobody/.cache ] && 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.