Use relative paths in scripts/download.sh (#632)

If there is another folder with the same name in your path when running
the script, it will enter that folder and recursively try to download
all the files. It the folder is big enough, it can hang the computer.

Co-authored-by: Gonzalo Bella <gonzalobella@gambitresearch.com>
This commit is contained in:
Gonzalo Bella
2021-11-26 17:20:27 +00:00
committed by GitHub
parent 20b552c908
commit 18cd311325

View File

@@ -11,7 +11,7 @@ download_for_directory() {
for f in *; do
if [[ -d ${f} ]]; then
download_for_directory ${f} &
download_for_directory "./${f}" &
fi
done