Revert "[molecule] builtin_plugin: use shlex when calling mkisofs"
This reverts commit 63515f0f52.
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import shlex
|
||||
from molecule.i18n import _
|
||||
from molecule.output import red, brown, blue, green, purple, darkgreen, \
|
||||
darkred, bold, darkblue, readtext
|
||||
@@ -579,15 +578,13 @@ class IsoHandler(GenericExecutionStep, BuiltinHandlerMixin):
|
||||
args.extend(self._config['iso_builder_builtin_args'])
|
||||
args.extend(self.metadata.get('extra_mkisofs_parameters',[]))
|
||||
if self.iso_title.strip():
|
||||
args.extend(["-V", '"'+self.iso_title[:30]+'"'])
|
||||
args.extend(['-o', self.dest_iso, self.source_path])
|
||||
args.extend(["-V", '"', self.iso_title[:30], '"'])
|
||||
args.extend(['-o',self.dest_iso, self.source_path])
|
||||
self._output.output("[%s|%s] %s: %s" % (
|
||||
blue("IsoHandler"), darkred(self.spec_name),
|
||||
_("spawning"), args,
|
||||
)
|
||||
)
|
||||
# make shell interpreter happy
|
||||
args = shlex.split(' '.join(args))
|
||||
rc = molecule.utils.exec_cmd(args)
|
||||
if rc != 0:
|
||||
self._output.output("[%s|%s] %s: %s" % (
|
||||
|
||||
Reference in New Issue
Block a user