Index: utils/pub/io.dart |
diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
index e9c335c716a6bb9f0b1aafc96e3616505246b003..ed5dee68be2a1c265dfd56364385e676b3c56f50 100644 |
--- a/utils/pub/io.dart |
+++ b/utils/pub/io.dart |
@@ -690,8 +690,7 @@ Future<bool> _extractTarGzWindows(InputStream stream, String destination) { |
if (tarFile == null) throw 'The gzip file did not contain a tar file.'; |
// Untar the archive into the destination directory. |
- return runProcess(command, ['x', '-o"$destination"', tarFile], |
- workingDir: tempDir); |
+ return runProcess(command, ['x', tarFile], workingDir: destination); |
}).chain((result) { |
if (result.exitCode != 0) { |
throw 'Could not un-tar (exit code ${result.exitCode}). Error:\n' |