Add -r option when removing egg-info files/folders
We are hitting this error: + tools/fixup_stuff.sh:fixup_ubuntu:82 : sudo rm -f /usr/lib/python3/dist-packages/httplib2-0.11.3.egg-info rm: cannot remove '/usr/lib/python3/dist-packages/httplib2-0.11.3.egg-info': Is a directory This patch adds the -r option to allow removing folders. Change-Id: Ib7bb8b0a3dcf747bcc06da1a2fb17fa9d8808484
This commit is contained in:
parent
455be66098
commit
7611d3dfd2
@ -79,9 +79,9 @@ function fixup_ubuntu {
|
||||
# manifest of what to remove. However, in most cases, simply
|
||||
# overwriting works. So this hacks around those packages that
|
||||
# have been dragged in by some other system dependency
|
||||
sudo rm -f /usr/lib/python3/dist-packages/httplib2-*.egg-info
|
||||
sudo rm -f /usr/lib/python3/dist-packages/pyasn1_modules-*.egg-info
|
||||
sudo rm -f /usr/lib/python3/dist-packages/PyYAML-*.egg-info
|
||||
sudo rm -rf /usr/lib/python3/dist-packages/httplib2-*.egg-info
|
||||
sudo rm -rf /usr/lib/python3/dist-packages/pyasn1_modules-*.egg-info
|
||||
sudo rm -rf /usr/lib/python3/dist-packages/PyYAML-*.egg-info
|
||||
}
|
||||
|
||||
# Python Packages
|
||||
|
Loading…
Reference in New Issue
Block a user