diff --git a/environments/esmvaltool/build_inner.sh b/environments/esmvaltool/build_inner.sh index b4a228c..a0669e5 100644 --- a/environments/esmvaltool/build_inner.sh +++ b/environments/esmvaltool/build_inner.sh @@ -5,6 +5,9 @@ eval "$( ${MAMBA} shell hook --shell bash)" micromamba activate "${CONDA_INSTALLATION_PATH}/envs/${FULLENV}" set -u +# Fix shebang in esmvaltool +sed -i "1s|^#!/.*$|#!${CONDA_INSTALLATION_PATH}/envs/${FULLENV}/bin/python|" ${CONDA_INSTALLATION_PATH}/envs/${FULLENV}/bin/esmvaltool + jupyter lab build pushd "${CONDA_INSTALLATION_PATH}/envs/${FULLENV}/lib/python3.11/site-packages/esmvaltool"