diff --git a/crates/rattler_build_core/src/package_test/run_test.rs b/crates/rattler_build_core/src/package_test/run_test.rs index 21fd91aa1..b08709bb2 100644 --- a/crates/rattler_build_core/src/package_test/run_test.rs +++ b/crates/rattler_build_core/src/package_test/run_test.rs @@ -957,6 +957,7 @@ async fn run_commands_test( })?; tracing::info!("Testing commands:"); + commands_test .script .run_script( diff --git a/crates/rattler_build_script/src/interpreter/bash.rs b/crates/rattler_build_script/src/interpreter/bash.rs index 090c4780c..158a8a0d9 100644 --- a/crates/rattler_build_script/src/interpreter/bash.rs +++ b/crates/rattler_build_script/src/interpreter/bash.rs @@ -53,7 +53,7 @@ impl Interpreter for BashInterpreter { } let build_script_path_str = build_script_path.to_string_lossy().to_string(); - let cmd_args = vec!["bash", &build_script_path_str]; + let cmd_args = vec!["bash", "-x", &build_script_path_str]; let output = run_process_with_replacements( &cmd_args,