Skip to content

Commit

Permalink
fix sed syntax for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
sdc50 committed Oct 30, 2024
1 parent 0879d7b commit 4a83054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_tethys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ then
# create conda env and install Tethys
echo "Setting up the ${CONDA_ENV_NAME} environment..."
sudo sed "s/python>=.*/python=${PYTHON_VERSION}/" "${TETHYS_SRC}/environment.yml" > "${TETHYS_SRC}/temp_environment.yml"
sudo sed -i "s/django>=.*/django=${DJANGO_VERSION}/" "${TETHYS_SRC}/temp_environment.yml"
sudo sed -i "" "s/django>=.*/django=${DJANGO_VERSION}/" "${TETHYS_SRC}/temp_environment.yml"
conda env create -n ${CONDA_ENV_NAME} -f "${TETHYS_SRC}/temp_environment.yml"
conda activate ${CONDA_ENV_NAME}
pip install -e ${TETHYS_SRC}
Expand Down

0 comments on commit 4a83054

Please sign in to comment.