summaryrefslogtreecommitdiffstats
path: root/meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch')
-rw-r--r--meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch b/meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch
new file mode 100644
index 0000000000..a9e6fc4d05
--- /dev/null
+++ b/meta/packages/ipkg-utils/ipkg-utils-native/ipkg-utils-fix.patch
@@ -0,0 +1,17 @@
1--- ../../../work/i686-linux/ipkg-utils-native-1.6+cvs20050404-r6/ipkg-utils/ipkg.py 2005-01-08 19:08:52.000000000 +0100
2+++ ipkg-utils/ipkg.py 2006-06-29 12:52:58.466446000 +0200
3@@ -150,11 +150,11 @@
4 stat = os.stat(fn)
5 self.size = stat[ST_SIZE]
6 self.filename = os.path.basename(fn)
7- ## sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
8+ sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
9 if self.isdeb:
10- control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - '*control'","r")
11+ control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - './control'","r")
12 else:
13- control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
14+ control = os.popen("tar xfzO "+fn+" 'control.tar.gz' | tar xfzO - './control'","r")
15 line = control.readline()
16 while 1:
17 if not line: break