aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lib
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/lib')
-rw-r--r--linden/indra/lib/python/indra/util/llmanifest.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/lib/python/indra/util/llmanifest.py b/linden/indra/lib/python/indra/util/llmanifest.py
index 029b697..2408fab 100644
--- a/linden/indra/lib/python/indra/util/llmanifest.py
+++ b/linden/indra/lib/python/indra/util/llmanifest.py
@@ -38,6 +38,7 @@ import re
38import shutil 38import shutil
39import sys 39import sys
40import tarfile 40import tarfile
41import errno
41 42
42def path_ancestors(path): 43def path_ancestors(path):
43 path = os.path.normpath(path) 44 path = os.path.normpath(path)
@@ -463,6 +464,12 @@ class LLManifest(object):
463 return 464 return
464 # only copy if it's not excluded 465 # only copy if it's not excluded
465 if(self.includes(src, dst)): 466 if(self.includes(src, dst)):
467 try:
468 os.unlink(dst)
469 except OSError, err:
470 if err.errno != errno.ENOENT:
471 raise
472
466 shutil.copy2(src, dst) 473 shutil.copy2(src, dst)
467 474
468 def ccopytree(self, src, dst): 475 def ccopytree(self, src, dst):