diff --git a/src/entry.rs b/src/entry.rs index 7c53928..86ed791 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -516,7 +516,7 @@ impl EntryFields { memo.insert(parent.to_path_buf()); } - self.unpack(Some(&parent), &file_dst) + self.unpack(Some(&dst), &file_dst) .await .map_err(|e| TarError::new(&format!("failed to unpack `{}`", file_dst.display()), e))?;