Skip to content

Commit

Permalink
Allow --cargo-deb to contain multiple arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Jul 8, 2024
1 parent 3975607 commit 300f480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ pub fn write_deb(config: &Config, package_deb: &PackageConfig, &compress::Compre
pub fn cargo_build(config: &Config, target: Option<&str>, build_command: &str, build_flags: &[String], verbose: bool) -> CDResult<()> {
let mut cmd = Command::new("cargo");
cmd.current_dir(&config.package_manifest_dir);
cmd.arg(build_command);
cmd.args(build_command.split(' '));

cmd.args(build_flags);

Expand Down

0 comments on commit 300f480

Please sign in to comment.