summaryrefslogtreecommitdiffstats
path: root/meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch
blob: a9e6fc4d056e04ddf8dd6a049ccd153e2d181ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ../../../work/i686-linux/ipkg-utils-native-1.6+cvs20050404-r6/ipkg-utils/ipkg.py	2005-01-08 19:08:52.000000000 +0100
+++ ipkg-utils/ipkg.py	2006-06-29 12:52:58.466446000 +0200
@@ -150,11 +150,11 @@
             stat = os.stat(fn)
             self.size = stat[ST_SIZE]
             self.filename = os.path.basename(fn)
-	    ## sys.stderr.write("  extracting control.tar.gz from %s\n"% (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 xfzO - './control'","r")
             else:
-                control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
+                control = os.popen("tar xfzO "+fn+" 'control.tar.gz' | tar xfzO - './control'","r")
             line = control.readline()
             while 1:
                 if not line: break