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,))
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()
15 @@ -122,7 +122,7 @@ class Package:
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()