Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/script/interpreter/bash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Interpreter for BashInterpreter {
}

let build_script_path_str = build_script_path.to_string_lossy().to_string();
let mut cmd_args = vec!["bash", "-e"];
let mut cmd_args = vec!["bash"];
if args.debug.is_enabled() {
cmd_args.push("-x");
}
Expand Down
3 changes: 2 additions & 1 deletion src/script/interpreter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ pub enum InterpreterError {
ExecutionFailed(#[from] std::io::Error),
}

pub const BASH_PREAMBLE: &str = r#"#!/bin/bash
pub const BASH_PREAMBLE: &str = r#"#!/usr/bin/env bash
set -e
## Start of bash preamble
if [ -z ${CONDA_BUILD+x} ]; then
source "((script_path))"
Expand Down