Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: utils/pub/io.dart

Issue 11417102: Avoid passing absolute path to 7zip. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698