aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch')
-rw-r--r--packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch b/packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch
index 02f30c1504..10fdbe3901 100644
--- a/packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch
+++ b/packages/ipkg-utils/ipkg-utils/ipkg-py-tarfile.patch
@@ -85,7 +85,7 @@ Index: ipkg-utils/arfile.py
+ memberName = descriptor[0][:-1]
+ self.directory[memberName] = descriptor + [self.f.tell()]
+# print "read:", memberName
-+ if memberName == fname:
++ if memberName == fname or (memberName.startswith("`") and memberName[1:] == fname):
+ # Record directory offset to start from next time
+ self.directoryOffset = self.f.tell() + size
+ return FileSection(self.f, self.f.tell(), size)