2010-10-14 14:32:03 +02:00
|
|
|
Index: Pkg.py
|
|
|
|
===================================================================
|
|
|
|
--- Pkg.py.orig
|
|
|
|
+++ Pkg.py
|
2014-02-21 15:54:14 +01:00
|
|
|
@@ -493,7 +493,7 @@ class Pkg:
|
2010-10-14 14:32:03 +02:00
|
|
|
dir = self.dirname)
|
|
|
|
# TODO: better shell escaping or sequence based command invocation
|
|
|
|
command_str = \
|
|
|
|
- 'rpm2cpio "%s" | (cd "%s"; cpio -id); chmod -R +rX "%s"' % \
|
|
|
|
+ "rpm2cpio '%s' | (cd '%s'; cpio -id); chmod -R +rX '%s'" % \
|
|
|
|
(self.filename, self.dirname, self.dirname)
|
2014-02-21 15:54:14 +01:00
|
|
|
cmd = getstatusoutput(command_str, shell=True)
|
2010-10-14 14:32:03 +02:00
|
|
|
self.extracted = True
|