From bee142df03c214675c8fd6993d74030556383eae Mon Sep 17 00:00:00 2001 From: pbauwens Date: Tue, 22 Oct 2024 20:16:39 +0200 Subject: [PATCH 1/2] add shebang to bash preamble --- src/script.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script.rs b/src/script.rs index ffacfac1..e865185f 100644 --- a/src/script.rs +++ b/src/script.rs @@ -29,6 +29,7 @@ use crate::{ }; const BASH_PREAMBLE: &str = r#" +#!/bin/bash ## Start of bash preamble if [ -z ${CONDA_BUILD+x} ]; then source ((script_path)) From 41270145198862acb09b7dce3766bb18d68065d2 Mon Sep 17 00:00:00 2001 From: pbauwens Date: Tue, 22 Oct 2024 21:33:58 +0200 Subject: [PATCH 2/2] Update script.rs --- src/script.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/script.rs b/src/script.rs index e865185f..b0bbdcfc 100644 --- a/src/script.rs +++ b/src/script.rs @@ -28,8 +28,7 @@ use crate::{ }, }; -const BASH_PREAMBLE: &str = r#" -#!/bin/bash +const BASH_PREAMBLE: &str = r#"#!/bin/bash ## Start of bash preamble if [ -z ${CONDA_BUILD+x} ]; then source ((script_path))