Added missing path prefix strip for hard links

This commit is contained in:
Jonas Borgström 2011-06-23 22:41:06 +02:00
parent af95b7c996
commit 9e11ae567d
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ class Archive(object):
source = self.hard_links.get((st.st_ino, st.st_dev))
if (st.st_ino, st.st_dev) in self.hard_links:
item = self.stat_attrs(st, path)
item.update({'path': path, 'source': source})
item.update({'path': safe_path, 'source': source})
self.add_item(item)
return
else: