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
4 self.filename = os.path.basename(fn)
5 ## sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
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")
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()
17 data = os.popen("ar p "+fn+" data.tar.gz | tar tfz -","r")
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")
22 line = data.readline()