diff --git a/unpak_cli/src/main.rs b/unpak_cli/src/main.rs index e7b86f1..7404f8e 100644 --- a/unpak_cli/src/main.rs +++ b/unpak_cli/src/main.rs @@ -213,7 +213,7 @@ fn pack(args: ActionPack) -> Result<(), unpak::Error> { if args.verbose { println!("packing {}", &rel); } - pak.write_file(&rel, &mut BufReader::new(File::open(&p)?))?; + pak.write_file(rel, &mut BufReader::new(File::open(&p)?))?; } pak.write_index()?;