Skip to content
Snippets Groups Projects
Commit 69734d40 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

apostrophe is escaped properly in -X arguments (thanks to Jakub Wilk for the patch)

parent f775c467
No related branches found
No related tags found
No related merge requests found
......@@ -589,7 +589,7 @@ def main():
dependencies.depend("python%d.%d" % version)
for pattern in options.regexpr or []:
args += " -X '%s'" % pattern.replace("'", r"\'")
args += " -X '%s'" % pattern.replace("'", r"'\''")
dh.autoscript(package, 'postinst', 'postinst-pycompile', args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment