Bug 1275672 - Remove accidental trailing /D from makecab.exe arguments; r=me

This was causing the "path" argument to get swallowed because makecab.exe
thought it was the argument to /D. Derp.

MozReview-Commit-ID: 6Bd3l7ISsPj

--HG--
extra : rebase_source : fbba4e8aff9a164aa10278de08de67c3f38cdf58
This commit is contained in:
Gregory Szorc 2016-05-31 09:09:03 -07:00
parent 15c05c673a
commit ada7d3fd11

View File

@ -785,7 +785,7 @@ class Dumper_Win32(Dumper):
compressed_file = path[:-1] + '_'
# ignore makecab's output
success = subprocess.call(["makecab.exe", "/D",
"CompressionType=MSZIP", "/D",
"CompressionType=MSZIP",
path, compressed_file],
stdout=open(os.devnull, 'w'),
stderr=subprocess.STDOUT)