diff options
author | Aaron Brashears <aaronb@lindenlab.com> | 2008-10-28 16:10:56 +0000 |
---|---|---|
committer | Aaron Brashears <aaronb@lindenlab.com> | 2008-10-28 16:10:56 +0000 |
commit | 27b749ead6ed7096c22ca3b21d4ebd98c89c4541 (patch) | |
tree | e8c2a4b3919596e25be6efffd0a115e692fd5fc9 | |
parent | 5243bafa57458bc1dbf44b05460287f20dea14dd (diff) |
someone added a directory to a file list in one of the prepacked libs. just ignore that use error on cleanup.
-rwxr-xr-x | scripts/install.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/install.py b/scripts/install.py index bb22d16a1a..59c441748e 100755 --- a/scripts/install.py +++ b/scripts/install.py @@ -466,7 +466,12 @@ windows/i686/vs/2003 -- specify a windows visual studio 2003 package""" if not self._dryrun: if os.path.exists(filename): remove_dir_set.add(os.path.dirname(filename)) - os.remove(filename) + try: + os.remove(filename) + except OSError: + # This is just for cleanup, so we don't care + # about normal failures. + pass for dirname in remove_dir_set: try: os.removedirs(dirname) |