cargo-deb icon indicating copy to clipboard operation
cargo-deb copied to clipboard

Asset destinations starting with '/' treated as files

Open kamathba opened this issue 6 years ago • 1 comments

In the following example, both mybin1 and mybin2 will show up as an executable /usr/bin inside the data archive.

[package.metadata.deb]
assets = [
    ["target/release/mybin1", "/usr/bin/", "755"],
    ["target/release/mybin2", "/usr/bin/", "755"],
]

This seems to be fixed by removing the leading /.

kamathba avatar Dec 04 '18 17:12 kamathba

Oh, that looks like a regression.

kornelski avatar Dec 04 '18 17:12 kornelski