[package] libpcap: explicitely disable libnl support to prevent different build resul...
[openwrt.git] / tools / ipkg-utils / patches / 130-tar_wildcards.patch
1 --- a/ipkg.py
2 +++ b/ipkg.py
3 @@ -93,9 +93,9 @@ class Package:
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 @@ class Package:
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.049944 seconds and 5 git commands to generate.