aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base')
-rw-r--r--tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base b/tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base
new file mode 100644
index 0000000..ba949c1
--- /dev/null
+++ b/tools/ipkg-utils/patches/.svn/text-base/130-tar_wildcards.patch.svn-base
@@ -0,0 +1,23 @@
+--- a/ipkg.py
++++ b/ipkg.py
+@@ -93,9 +93,9 @@ class Package:
+ self.filename = os.path.basename(fn)
+ ## sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
+ if self.isdeb:
+- control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - '*control'","r")
++ control = os.popen("ar p "+fn+" control.tar.gz | tar xzO --wildcards -f - '*control'","r")
+ else:
+- control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
++ control = os.popen("tar xzO --wildcards -f "+fn+" '*control.tar.gz' | tar xzO --wildcards -f - '*control'","r")
+ line = control.readline()
+ while 1:
+ if not line: break
+@@ -122,7 +122,7 @@ class Package:
+ if self.isdeb:
+ data = os.popen("ar p "+fn+" data.tar.gz | tar tfz -","r")
+ else:
+- data = os.popen("tar xfzO "+fn+" '*data.tar.gz' | tar tfz -","r")
++ data = os.popen("tar xzO --wildcards -f "+fn+" '*data.tar.gz' | tar tfz -","r")
+ while 1:
+ line = data.readline()
+ if not line: break