SHA256
1
0
forked from pool/rpmlint
rpmlint/rpmlint-pkg-quoting.diff
Dirk Mueller b0b29cefb3 - added patches:
* 0001-Python-3-compatibility-tweaks.patch
- Change openstack- related users to non-prefixed variants,
  as they get renamed with the switch to Icehouse

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=244
2014-02-21 14:54:14 +00:00

14 lines
598 B
Diff

Index: Pkg.py
===================================================================
--- Pkg.py.orig
+++ Pkg.py
@@ -493,7 +493,7 @@ class Pkg:
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)
cmd = getstatusoutput(command_str, shell=True)
self.extracted = True