Add definitions to myloader thanks Gabor Juhos
[openwrt.git] / tools / ipkg-utils / patches / 130-tar_wildcards.patch
1 --- ipkg-utils-1.7/ipkg.py.orig 2006-06-29 14:16:00.000000000 +0200
2 +++ ipkg-utils-1.7/ipkg.py 2006-06-29 14:36:01.000000000 +0200
3 @@ -93,9 +93,9 @@
4 self.filename = os.path.basename(fn)
5 ## sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
6 if self.isdeb:
7 - control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - '*control'","r")
8 + control = os.popen("ar p "+fn+" control.tar.gz | tar xzO --wildcards -f - '*control'","r")
9 else:
10 - control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
11 + control = os.popen("tar xzO --wildcards -f "+fn+" '*control.tar.gz' | tar xzO --wildcards -f - '*control'","r")
12 line = control.readline()
13 while 1:
14 if not line: break
15 @@ -122,7 +122,7 @@
16 if self.isdeb:
17 data = os.popen("ar p "+fn+" data.tar.gz | tar tfz -","r")
18 else:
19 - data = os.popen("tar xfzO "+fn+" '*data.tar.gz' | tar tfz -","r")
20 + data = os.popen("tar xzO --wildcards -f "+fn+" '*data.tar.gz' | tar tfz -","r")
21 while 1:
22 line = data.readline()
23 if not line: break
This page took 0.040549 seconds and 5 git commands to generate.