Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
find
including nonexistent files when cleaning up .pyc files. (#…
…507) This step sometimes results in a build failure e.g.: find: '/proc/44': No such file or directory This can happen if the find results include /proc/<PID> files for processes that have finished between the time when `find` reads the name of the file in the directory and when it goes to stat the file (see -ignore_readdir_race in `man find`). In our case, all the pycache dirs and .pyc files come from the /usr/lib/google-cloud-sdk directory, so we can just restrict the search to there instead of the root directory.
- Loading branch information