diff --git a/scripts/install-freesurfer.sh b/scripts/install-freesurfer.sh index 51831ba..a75590e 100755 --- a/scripts/install-freesurfer.sh +++ b/scripts/install-freesurfer.sh @@ -75,7 +75,7 @@ fi } echo "Downloading ${FREESURFER_DOWNLOAD_URL}..." -dlpath=$(curl -w "%{filename_effective}" -fLO "${FREESURFER_DOWNLOAD_URL}") +dlpath=$(curl -w "%{filename_effective}" -fsSLO "${FREESURFER_DOWNLOAD_URL}") trap 'rm -f "${dlpath:-}"' INT QUIT TERM EXIT if [ -r "${dlpath}" ]; then