Index: src/platform/update_engine/download_action.cc |
diff --git a/src/platform/update_engine/download_action.cc b/src/platform/update_engine/download_action.cc |
index 833f806edd1baa32105248768c1a9ad6ed4639ba..6da671947a28b33c5543063f05ce1e70dda617e3 100644 |
--- a/src/platform/update_engine/download_action.cc |
+++ b/src/platform/update_engine/download_action.cc |
@@ -31,7 +31,7 @@ void DownloadAction::PerformAction() { |
should_decompress_ = install_plan.is_full_update; |
url_ = install_plan.download_url; |
- output_path_ = install_plan.download_path; |
+ output_path_ = install_plan.install_path; |
hash_ = install_plan.download_hash; |
install_plan.Dump(); |
@@ -39,7 +39,6 @@ void DownloadAction::PerformAction() { |
decompressing_file_writer_.reset( |
new GzipDecompressingFileWriter(direct_file_writer_.get())); |
writer_ = decompressing_file_writer_.get(); |
- output_path_ = install_plan.install_path; |
} else { |
writer_ = direct_file_writer_.get(); |
} |