Skip to content

Commit 77a5fd4

Browse files
committed
chore: change default output to same path as binary
Previously, the output was saved to `target/tmp`. This might override if the same package is saved for multiple profiles; therefore, we now default to the `target/<target>/<profile>` path.
1 parent 316f662 commit 77a5fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ fn main() -> anyhow::Result<()> {
204204
let target = if let Some(output) = &args.output {
205205
output.clone()
206206
} else {
207-
tmpdir.to_string()
207+
target_path.to_string()
208208
};
209209
let mut cmd = Command::new(nfpm_bin);
210210
cmd.arg("package")

0 commit comments

Comments
 (0)