kornelski / cargo-deb

Make Debian packages directly from Rust/Cargo projects
https://lib.rs/cargo-deb
MIT License
431 stars 52 forks source link

path of assets is not relative with --manifest-path #77

Closed Cyrix126 closed 1 year ago

Cyrix126 commented 1 year ago

Hi,

When using the "assets" option, the path is relative to the workspace, as expected.

But when the cargo-deb is ran with the option --manifest-path, paths specified in assets are relative to where the cargo-deb command is running instead of the workspace directory as --manifest-path of cargo build is doing.

kornelski commented 1 year ago

I can't reproduce it. The example project in the repo includes all the assets regardless of current dir.