Skip to content

Commit

Permalink
Add redirect follow to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhswenson committed Apr 8, 2020
1 parent 9d4847e commit 600edbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/miniconda_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ conda_version="latest"
#conda_version="4.4.10" # can pin a miniconda version like this, if needed

MINICONDA=Miniconda${pyV}-${conda_version}-${OS_ARCH}.sh
MINICONDA_MD5=$(curl -s https://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p')
MINICONDA_MD5=$(curl -sL https://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p')
wget https://repo.continuum.io/miniconda/$MINICONDA
SCRIPT_MD5=`eval "$MD5_CMD $MD5_OPT $MINICONDA" | cut -d ' ' -f 1`

Expand Down

0 comments on commit 600edbd

Please sign in to comment.