diff --git a/src/deb/cross.rs b/src/deb/cross.rs index 8cd849d..1ce8f27 100644 --- a/src/deb/cross.rs +++ b/src/deb/cross.rs @@ -153,7 +153,8 @@ pub fn setup_environment( let dpkg_architecture = String::from_utf8( context::current() .command("dpkg-architecture") - .arg(format!("-a{}", arch)) + .arg("-a") + .arg(arch) .output()? .stdout, )?;