diff --git a/cuddle/src/actions/shell.rs b/cuddle/src/actions/shell.rs index 9a4f660..3c8cb99 100644 --- a/cuddle/src/actions/shell.rs +++ b/cuddle/src/actions/shell.rs @@ -31,7 +31,7 @@ impl ShellAction { let mut process = Command::new(&path) .current_dir(current_dir) - .envs(variables.iter().map(|v| { + .envs(variables.iter().rev().map(|v| { log::trace!("{:?}", v); (v.name.to_uppercase(), v.value.clone())