Skip to content

Commit 62103bf

Browse files
authored
Manually invoke bash for miniconda (#1277)
Fixes build issues failing with: ``` ./Miniconda3-latest-Linux-x86_64.sh: 438: ./Miniconda3-latest-Linux-x86_64.sh: [[: not found ``` as seen in e.g.: #1271
1 parent b148822 commit 62103bf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/install_conda.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -ex
55
# Anaconda
66
wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
77
chmod +x Miniconda3-latest-Linux-x86_64.sh
8-
./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
8+
# NB: Manually invoke bash per https://github.com/conda/conda/issues/10431
9+
bash ./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
910
rm Miniconda3-latest-Linux-x86_64.sh
1011
export PATH=/opt/conda/bin:$PATH
1112
conda install -y conda-build anaconda-client git ninja

common/install_cpython.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)