mirror of
https://github.com/papers-we-love/papers-we-love.git
synced 2024-10-27 20:34:20 +00:00
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:
parent
20b552c908
commit
18cd311325
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user