Skip to content

Commit

Permalink
Update install_data.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshah committed Jun 18, 2024
1 parent 6be6e09 commit fd86faa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ foldername=test_nucleo_qc
[[ -f $filename ]] && exit 0
[[ -d $foldername ]] && exit 0

curl -c ./cookie -s -k -L "https://drive.google.com/uc?export=download&id=$fileid" > /dev/null
#curl -c ./cookie -s -k -L "https://drive.google.com/uc?export=download&id=$fileid" > /dev/null
#curl -k -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}

curl -k -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
curl -L "https://drive.usercontent.google.com/download?id=${fileid}&confirm=xxx" -o ${filename}

# Suppress linux warnings for MacOS tar.gz files
if [[ "$OSTYPE" == "linux-gnu" ]]; then
Expand Down

0 comments on commit fd86faa

Please sign in to comment.