Skip to content

Commit 600edbd

Browse files
committed
Add redirect follow to curl
1 parent 9d4847e commit 600edbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/miniconda_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ conda_version="latest"
2222
#conda_version="4.4.10" # can pin a miniconda version like this, if needed
2323

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

0 commit comments

Comments
 (0)