Use relative paths in scripts/download.sh

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.
This commit is contained in:
Gonzalo Bella 2021-11-26 16:46:09 +00:00
parent 20b552c908
commit 327bdb675b

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