SHA256
1
0
forked from pool/rpmlint
rpmlint/rpmlint-pkg-quoting.diff
Dirk Mueller 15bad7fc73 - update to 1.5:
* New Homepage
  * Plenty of new checks
- add compressed-backup-regex.diff
- remove python3_magic_number_fix.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=189
2013-06-28 13:29:34 +00:00

14 lines
595 B
Diff

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