Skip to content

Commit

Permalink
Fix conda install on distributions with strict POSIX sh (pytorch#91371)
Browse files Browse the repository at this point in the history
See also conda/conda#10431

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: pytorch#91371
Approved by: https://github.com/albanD
  • Loading branch information
ezyang authored and pruthvistony committed Jan 3, 2023
1 parent 3c91b12 commit 5e03698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/docker/common/install_conda.sh
Expand Up @@ -42,8 +42,8 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then

pushd /tmp
wget -q "${BASE_URL}/${CONDA_FILE}"
chmod +x "${CONDA_FILE}"
as_jenkins ./"${CONDA_FILE}" -b -f -p "/opt/conda"
# NB: Manually invoke bash per https://github.com/conda/conda/issues/10431
as_jenkins bash "${CONDA_FILE}" -b -f -p "/opt/conda"
popd

# NB: Don't do this, rely on the rpath to get it right
Expand Down

0 comments on commit 5e03698

Please sign in to comment.