summaryrefslogtreecommitdiff
path: root/cli/upgrade.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/upgrade.rs')
-rw-r--r--cli/upgrade.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/upgrade.rs b/cli/upgrade.rs
index 9779e067a..f840dc4c5 100644
--- a/cli/upgrade.rs
+++ b/cli/upgrade.rs
@@ -204,9 +204,9 @@ fn unpack(archive_data: Vec<u8>) -> Result<PathBuf, ErrBox> {
}",
)
.arg("-Path")
- .arg(&archive_path)
+ .arg(format!("'{}'", &archive_path.to_str().unwrap()))
.arg("-DestinationPath")
- .arg(&temp_dir)
+ .arg(format!("'{}'", &temp_dir.to_str().unwrap()))
.spawn()?
.wait()?
}