Commit 42342905 authored by Antoine Catton's avatar Antoine Catton

Minor: use shlex to parse patch options

parent 7994dcc8
...@@ -338,7 +338,7 @@ class Script: ...@@ -338,7 +338,7 @@ class Script:
if patch_options is None: if patch_options is None:
patch_options = [] patch_options = []
else: else:
patch_options = patch_options.split(' ') patch_options = shlex.split(patch_options)
if patch_binary is None: if patch_binary is None:
patch_binary = 'patch' patch_binary = 'patch'
kwargs = dict() kwargs = dict()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment