Merge pull request #50883 from terminalmage/bp-49622

Backport #49622 to 2018.3 branch
This commit is contained in:
Daniel Wozniak 2018-12-31 12:58:10 -07:00 committed by GitHub
commit 582d6b42d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -922,7 +922,7 @@ def cmd_unzip(zip_file,
if password:
cmd.extend(['-P', password])
if options:
cmd.append('{0}'.format(options))
cmd.extend(shlex.split(options))
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
if excludes is not None: