diff --git a/Cargo.lock b/Cargo.lock index 7a95d4f..3cee4a4 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -418,7 +418,7 @@ checksum = "807800ff3288b621186fe0a8f3392c4652068257302709c24efd918c3dffcdc2" [[package]] name = "depot" -version = "0.21.0" +version = "0.21.1" dependencies = [ "anyhow", "ar", diff --git a/Cargo.toml b/Cargo.toml index 75339a0..8a63b63 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "depot" -version = "0.21.0" +version = "0.21.1" edition = "2024" [lints.rust] diff --git a/meson.build b/meson.build index eebbe0d..dff47c5 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'depot', - version: '0.21.0', + version: '0.21.1', meson_version: '>=0.60.0', default_options: ['buildtype=release'], ) diff --git a/src/commands.rs b/src/commands.rs index 1632eab..9ce5bed 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -184,6 +184,7 @@ fn run_install_command_with_program( } let mut cmd = std::process::Command::new(program); + cmd.arg("install"); cmd.arg("-r").arg(rootfs); if options.no_deps { cmd.arg("--no-deps"); @@ -206,7 +207,6 @@ fn run_install_command_with_program( if options.install_test_deps { cmd.arg("--test-deps"); } - cmd.arg("install"); cmd.args(install_requests); if let Some(context) = options.install_context { cmd.env(DEPOT_INSTALL_CONTEXT_ENV, context); @@ -6382,6 +6382,7 @@ optional = [] assert_eq!( captured_args.lines().collect::>(), vec![ + "install", "-r", "/", "--no-flags", @@ -6389,7 +6390,6 @@ optional = [] "x86_64-linux-musl", "--clean", "--test-deps", - "install", "/tmp/pkg-a.toml", "/tmp/pkg-b.toml", ]