From 18cd311325e02138432f1a497d667e54ef4c62d7 Mon Sep 17 00:00:00 2001 From: Gonzalo Bella Date: Fri, 26 Nov 2021 17:20:27 +0000 Subject: [PATCH] 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 --- scripts/download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.sh b/scripts/download.sh index d5139d4..4d6d42c 100755 --- a/scripts/download.sh +++ b/scripts/download.sh @@ -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